powered by
Calculates proportion of mitochondrial contribution based on raw or normalized data.
getProportionMito(object, use.norm = FALSE)
liger object.
liger
Whether to use cell normalized data in calculating contribution (default FALSE).
Named vector containing proportion of mitochondrial contribution for each cell.
# NOT RUN { # ligerex (liger object), factorization complete ligerex@cell.data[["percent_mito"]] <- getProportionMito(ligerex) # }
Run the code above in your browser using DataLab