Description Usage Arguments Value Author(s) Examples
Given a set of genes, filter to the ones found in the sample. This is useful because some Seurat functions (Seurat::VlnPlot, Seurat::FeaturePlot) will quit on an error if a gene is not found (i.e. not in the rownames of seurat@data).
1 | filterGenesSample(genes, seurat, from_sp = "hg", to_sp = "mm")
|
genes |
Character vector of genes to search for |
seurat |
Seurat object |
from_sp |
One of "hg" or "mm". Default: "hg" |
to_sp |
One of "hg" or "mm". Default: "mm" |
Character vector of converted gene names which are detected in the sample
adapted from Claudia Kleinman
1 | filterGenesSample(c("IL32", "foo"), pbmc, "hg", "hg")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.