View source: R/ComputeMitoContent.R
ComputeMitoContent | R Documentation |
This function computes the mitochondrial content of cells in a Seurat object and adds it to the metadata.
ComputeMitoContent(object, name = "percent.mito", as.percent = TRUE)
object |
Seurat object. Must contain an RNA assay. |
name |
Name of the new metadata column created containing the fraction of mitochondrial transcripts (Default: percent.mito) |
as.percent |
Whether to report the result as a fraction (between 0 and 1) or percentage (between 0 and 100). Default: TRUE (percent). |
Seurat object with an additional metadata column containing mitochondrial fraction/percentage.
MySeuratObject <- ComputeMitoContent(MySeuratObject)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.