mit_pct_hist_st | R Documentation |
This function returns the mitochondrial % histogram of the Seurat object.
mit_pct_hist_st(se, mito_percent = "percent.mito", sample_id = "orig.ident")
se |
Spatial Seurat object we want to assess. |
mito_percent |
Character string indicating the name of the variable in the metadata containing the mitochondrial % for each spot. |
sample_id |
Feature in metadata by which to identify the sample if the object is merged and contains several samples. |
Histogram with the mitochondrial % distribution by sample.
## Not run: library(Seurat) library(SeuratData) sp_obj <- SeuratData::LoadData(ds = "stxBrain", type = "posterior1") mit_pct_hist_st(se = sp_obj, mito_percent = "percent.mito", sample_id = "orig.ident") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.