getMitoContent: Calculate mitochondrial content

View source: R/M1_functions.R

getMitoContentR Documentation

Calculate mitochondrial content

Description

Calculate cell-level mitochondrial content based on mapped transcripts and store in Seurat "percent.mt' metadata field.

Usage

getMitoContent(so, gNames = NULL, assay = NULL, omit.na = T)

Arguments

so

Seurat Object

gNames

Named gene vector; entries are gene symbols, names are Ensembl.

assay

assay to use.

omit.na

Logical specifying whether to omit NA entries (present when unfiltered 10x dataset is used). Default is True.

Value

Seurat Object (with updated metadata)


NMikolajewicz/scMiko documentation built on June 28, 2023, 1:41 p.m.