CalculatePercentMito: Calculate Mitochrondrial Percentage

View source: R/Preprocessing.R

CalculatePercentMitoR Documentation

Calculate Mitochrondrial Percentage

Description

This will identify mitochrondrial genes and calculate p.mito for each cell

Usage

CalculatePercentMito(
  seuratObj,
  mitoGenesPattern = "^MT-",
  annotateMitoFromReferenceIfNoHitsFound = TRUE,
  outputColName = "p.mito"
)

Arguments

seuratObj

The seurat object

mitoGenesPattern

The expression to use when identifying mitochondrial genes

annotateMitoFromReferenceIfNoHitsFound

If true, a list of mitochondrial genes, taken from (https://www.genedx.com/wp-content/uploads/crm_docs/Mito-Gene-List.pdf) will be used to calculate p.mito

outputColName

The name of the output column to hold p.mito

Value

A Seurat object with p.mito calculated.


bimberlabinternal/CellMembrane documentation built on Oct. 16, 2024, 6:53 a.m.