Skip to contents

Add per-metacell gene expression data to an McPeaks object

Usage

add_mc_rna(atac_mc, mc_rna)

Arguments

atac_mc

an McPeaks/McTracks object

mc_rna

a metacell1 'mc' object or a metacells metacell UMI matrix (a matrix where each row is a gene and each column is a metacell)

Examples

if (FALSE) {
data(mcmd)
metacell::scdb_init("pbmc_data/scdb", force_reinit = TRUE)
mc_rna <- metacell::scdb_mc("rna")
atac_mc <- add_mc_rna(atac_mc, mc_rna)
}