View source: R/dimred_labels.R
seurat_dimred_cluster_labels | R Documentation |
Assign labels to positions in reduced dimensional space. Can be used to label clusters by other meta.data than their coloring.
seurat_dimred_cluster_labels(
object,
reduction = NULL,
dims = c(1, 2),
group.by = "ident",
FUN = median
)
object |
Seurat object |
reduction |
Label of reduction object to use (uses the last created reduction by default) |
dims |
Which dimensions should be used? |
group.by |
Meta data column to label clusters |
FUN |
Function called on reduced dimensions to calculate label position |
tibble of labels and their positions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.