Filter.Gene: Filter.Gene

Description Usage Arguments Value

View source: R/cell_cytometry.R

Description

keep only the cells barcode that have expression of gene higher than the threshold for now use seurat.ob->assays$RNA@data field, but may change the assay type

Usage

1
Filter.Gene(seurat.ob, gene, threshold = 0, reverse = F)

Arguments

seurat.ob

a seurat object type that have a count a count table inside with proper column name as cells and rowname as the gene

gene

the gene gonna impose the threshold filter on

threshold

the count number (exclusively greater) to define the presence of a certain gene in the cell. Default to 0

reverse

whether we would select the cells absent with the gene count smaller or equal to the threshold

Value

return the remained cell's barcode


steveyu323/SEURATEXT documentation built on Nov. 5, 2019, 9:38 a.m.