Description Usage Arguments Value Examples
View source: R/cluster_annotate.R
annotate the celltype for cluster in the seurat.obj
1 2 3 4 5 6 7 8 | cluster_annotate(
seurat_object,
cluster_markers = NULL,
filename = "",
width = 4,
height = 2.5,
n_col = NULL
)
|
seurat_object |
annotation of the seurat.obj |
cluster_markers |
marker genes of celltypes |
filename |
the name of the generated file |
width |
width of the figure |
height |
height of the figure |
n_col |
ncol for the vlnplot |
a seurat.obj with annotation
1 2 3 4 5 6 7 | ## Not run:
data(common_cluster,package="LIANLAB")
input.file <- system.file('extdata','pbmc_1k.RDS',package = 'LIANLABDATA')
pbmc_1k <- readRDS(input.file)
pbmc_1k <- cluster_annotate( seurat_object = pbmc_1k, cluster_markers = common_cluster)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.