cluster_annotate: annotate the celltype for cluster in the seurat.obj

Description Usage Arguments Value Examples

View source: R/cluster_annotate.R

Description

annotate the celltype for cluster in the seurat.obj

Usage

1
2
3
4
5
6
7
8
cluster_annotate(
  seurat_object,
  cluster_markers = NULL,
  filename = "",
  width = 4,
  height = 2.5,
  n_col = NULL
)

Arguments

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

Value

a seurat.obj with annotation

Examples

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)

Lian-Lab/LIANLAB documentation built on June 23, 2021, 5:37 a.m.