Description Usage Arguments Value Examples
View source: R/convenience_funcs.R
table_summary_seurat
returns a list of tibbles with summary metrics of
the metrics fetched from a Seurat object using Seurat::FetchData.
1 | table_summary_seurat(fetch_dat_out, re_group)
|
fetch_dat_out |
A data frame with cells as rows and cellular data as columns (e.g. output from Seurat::FetchData). |
re_group |
A character value for the regex to group by. |
A list of named tibbles, one for each metric.
1 2 3 4 5 | # load example dataset from Seurat
data("pbmc_small", package="Seurat")
table_summary_seurat(Seurat::FetchData(pbmc_small, vars = c("nFeature_RNA", "nCount_RNA")),
"^\\S+(?=_[ACGT]+$)")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.