Description Usage Arguments Value Examples
View source: R/calculate_mt_exprs.R
calculate_mt_exprs() calculates the expression of mitochondrial genes for a monocle CellDataSet object.
1 | calculate_mt_exprs(cds, genome = "mouse", return_prop = T)
|
cds |
monocle CellDataSet object |
genome |
genome to which transcripts are aligned to. Accepts either "mouse" or "human". |
return_prop |
logical; whether to return the value of mitochondrial transcripts as a proportion of total transcripts for each cell; resulting output will be the input CDS with the values of mt_RNAs and mt_prop attached to the corresponding pData. If FALSE, will only return the absolute number of transcripts per cell as a vector. Defaults to TRUE. |
A vector or a cds (see above)
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.