Get enrichment of normalized counts of gene expression over the median
Source:R/rna.R
get_rna_fp.Rd
The function first transforms the UMI matrix to fractions per metacell, and then calculates the enrichment of each gene over the median (dividing the gene expression by the median).
Arguments
- atac_mc
a McPeaks/McTracks object with RNA expression (using
add_mc_rna
)- genes
list of genes to match. Default (NULL): all genes
- rm_zeros
remove genes with no RNA expression in any metacell. Default: TRUE
- epsilon
regularization factor added to the log normalized expression