getProportionMito | R Documentation |
Calculates proportion of mitochondrial contribution based on raw or normalized data.
getProportionMito(object, use.norm = FALSE, pattern = "^mt-")
object |
|
use.norm |
Deprecated Whether to use cell normalized data in
calculating contribution. Default |
pattern |
Regex pattern for identifying mitochondrial genes. Default
|
Named vector containing proportion of mitochondrial contribution for each cell.
getProportionMito
will be deprecated because
runGeneralQC
generally covers and expands its use case.
# Example dataset does not contain MT genes, expected to see a message
pbmc$mito <- getProportionMito(pbmc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.