Rank the similarity of the shared signaling pathways based on their joint manifold learning
rankSimilarity(
object,
slot.name = "netP",
type = c("functional", "structural"),
comparison1 = NULL,
comparison2 = c(1, 2),
x.rotation = 90,
title = NULL,
color.use = NULL,
bar.w = NULL,
font.size = 8
)
CellChat object
the slot name of object that is used to compute centrality measures of signaling networks
"functional","structural"
a numerical vector giving the datasets for comparison. This should be the same as `comparison` in `computeNetSimilarityPairwise`
a numerical vector with two elements giving the datasets for comparison.
If there are more than 2 datasets defined in `comparison1`, `comparison2` can be defined to indicate which two datasets used for computing the distance. e.g., comparison2 = c(1,3) indicates the first and third datasets defined in `comparison1` will be used for comparison.
rotation of x-labels
main title of the plot
defining the color
the width of bar plot
font size