Get_ave_heatmap: To draw the average expression of the cluster

Description Usage Arguments Examples

View source: R/Get_heatmap.R

Description

To draw the average expression of the cluster

Usage

1
2
3
4
5
6
7
Get_ave_heatmap(
  seurat.obj,
  genes,
  split = c(T, F),
  colorm = NULL,
  cluster_row = F
)

Arguments

seurat.obj

the seurat object

genes

the genes you interested

split

whether to split the heatmap

colorm

the data.frame including clusters(first col) and colors(second col)

Examples

1
2
3
4
5
6
7
## Not run: 
input.file <- system.file('extdata','pbmc_1k.RDS',package = 'LIANLABDATA')
pbmc_1k <- readRDS(input.file)
genes = c('CD8A','CD3','CD4')
Get_ave_heatmap(pbmc_1k,genes,split=T)

## End(Not run)

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