getMaxWeight | R Documentation |
To better control the node size and edge weights of the inferred networks across different datasets, we compute the maximum number of cells per cell group and the maximum number of interactions (or interaction weights) across all datasets
getMaxWeight(
object.list,
slot.name = c("idents", "net"),
attribute = c("idents", "count")
)
object.list |
List of CellChat objects |
slot.name |
the slot name of object that is used to compute the maximum value. When slot.name = "idents", 'attribute' should be "idents", which will compute the maximum number of cells per cell group across all datasets When slot.name = "net", 'attribute' can be either "count" or "weight", which will compute he maximum number of interactions (or interaction weights) across all datasets When slot.name = "net" or "netP", 'attribute' can be a single pathway name or a ligand-receptor pair name |
attribute |
the attribute to compute the maximum values. 'attribute' should have the same length as 'slot.name'. 'attribute' can only be "count", "weight","count.merged","weight.merged" or a single pathway name or a ligand-receptor pair name |
A numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.