updateClusterLabels | R Documentation |
Update and re-order the cell group names after running 'computeCommunProb'
updateClusterLabels(
object,
old.cluster.name = NULL,
new.cluster.name = NULL,
new.order = NULL,
new.cluster.metaname = "new.labels"
)
object |
CellChat object |
old.cluster.name |
A vector defining old cell group labels in 'object@idents'; Default = NULL, which will use 'levels(object@idents)' |
new.cluster.name |
A vector defining new cell group labels to rename |
new.order |
reset order of cell group labels |
new.cluster.metaname |
assign a name of the new labels, which will be the column name of new labels in 'object@meta' |
An updated CellChat object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.