getcellcycle: Cell cycle filter

Description Usage Arguments Value Examples

View source: R/withDoc.R

Description

filter for cells with particular cell cycle phase: "G1", "G2M", or "S"

Usage

1
getcellcycle(scrna_mat, cellcycle = "G1", species = "human")

Arguments

scrna_mat

count matrix for single cell RNAseq with ensembl gene IDs

cellcycle

filter for specific cell cycle phase: "G1", "G2M", or "S". Default is NULL, for no cell cycle phase filtering.

species

"human" or "mouse"

Value

count matrix containing only cells with the selected cell cycle phase

Examples

1
2
3
4
5
6
## Not run: 
data("data_scrnaseq") 
cnts.sc = prep_scrnaseq(cnts.scrnaseq,cellcycle=NULL,count.threshold=0.05)
cnts.sc.G1 = getcellcycle(cnts.sc,"G1")

## End(Not run)

rosedu1/deconvSeq documentation built on Aug. 19, 2020, 7:10 p.m.