Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getProportionMito

Calculate proportion mitochondrial contribution


Description

Calculates proportion of mitochondrial contribution based on raw or normalized data.

Usage

getProportionMito(object, use.norm = FALSE)

Arguments

object

liger object.

use.norm

Whether to use cell normalized data in calculating contribution (default FALSE).

Value

Named vector containing proportion of mitochondrial contribution for each cell.

Examples

## Not run: 
# ligerex (liger object), factorization complete
ligerex@cell.data[["percent_mito"]] <- getProportionMito(ligerex)

## End(Not run)

rliger

Linked Inference of Genomic Experimental Relationships

v1.0.0
GPL-3
Authors
Joshua Welch [aut, ctb], Chao Gao [aut, ctb, cre], Jialin Liu [aut, ctb], Joshua Sodicoff [aut, ctb], Velina Kozareva [aut, ctb], Evan Macosko [aut, ctb], Paul Hoffman [ctb], Ilya Korsunsky [ctb], Robert Lee [ctb]
Initial release
2021-04-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.