Description Usage Arguments Value
View source: R/cell_cytometry.R
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
1 | Filter.Gene(seurat.ob, gene, threshold = 0, reverse = F)
|
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 |
return the remained cell's barcode
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.