Description Usage Arguments Details
Subset data flexibly from a Seurat object.
1 2 | SubsetDataFlex(dge, vars.use, predicate, preserve_raw = FALSE,
results_path = NULL, show_on_tsne = !is.null(results_path), ...)
|
dge |
Seurat object |
vars.use |
Variables to fetch for use in 'predicate'. |
predicate |
String to be parsed into an R expression and evaluated as an arg to base::subset. |
preserve_raw |
If TRUE, then it will not exclude any cells from the @raw.data slot. By default, it leaves cells in @raw.data only if they satisfy the given predicate. |
results_path |
Where to save the tSNE. |
show_on_tsne |
If true, save a tSNE showing which cells are kept. |
... |
Extra params passed to tsne_colored. |
Calls FetchData, subsets it as a dataframe using base::subset, and subsets the Seurat object correspondingly (using the df rownames.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.