Get_percentplot_split: Get percentage of seurat.obj, which has more than one samples

Description Usage Arguments Examples

View source: R/Get_Percentplot.R

Description

Get percentage of seurat.obj, which has more than one samples

Usage

1
2
3
4
5
6
7
Get_percentplot_split(
  seurat_object,
  filename = NULL,
  order = "increasing",
  split_by = NULL,
  colorm = NULL
)

Arguments

seurat_object

seurat.obj, including cols could split

filename

the name of the generated file

order

the order of the samples in figure

split_by

split by the seurat.obj by cols, default 'samples'

colorm

the colors of the clusters

Examples

1
2
3
4
5
6
## Not run: 
input.file <- system.file('extdata','pbmc_1k.RDS',package = 'LIANLABDATA')
pbmc_1k <- readRDS(input.file)
Get_percentplot_split(pbmc_1k)

## End(Not run)

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