powered by
Calculates proportion of mitochondrial contribution based on raw or normalized data.
getProportionMito(object, use.norm = FALSE, pattern = "^mt-")
Named vector containing proportion of mitochondrial contribution for each cell.
liger object.
liger
Deprecated Whether to use cell normalized data in calculating contribution. Default FALSE.
FALSE
Regex pattern for identifying mitochondrial genes. Default "^mt-" for mouse.
"^mt-"
# Example dataset does not contain MT genes, expected to see a message pbmc$mito <- getProportionMito(pbmc)
Run the code above in your browser using DataLab