mergeCM: Fast and iterative merging of sparse matrices

View source: R/EpicMerge.R

mergeCMR Documentation

Fast and iterative merging of sparse matrices

Description

mergeCM accepts a list of up to 48 count matrices and uses EpicMerge to merge them into one final count matrix.

Usage

mergeCM(count_matrix.list, type = c("emat", "nmat"))

Arguments

x

A list of dgCMatrix objects

type

Character indicating which type of count matrices to merge.

Details

This function will keep all colnames and rownames present in the input matrices and fill blank measurements with zeros.

Value

Returns a merged dgCMatrix.

Author(s)

Aaron J. Wilk

Examples

mergeCM(count_matrix.list, type = c("emat", "nmat"))

ajwilk/EpicTools documentation built on April 1, 2022, 7:02 a.m.