Merge multiple single cell matrix object. Return the merged matrix, with merged meta data and issues an error if there are overlapping cell names between the two matrices.

scm_merge_mats(...)

Arguments

...

tgScMat objects to merge. Each parameter can be either a single tgScMat or a list of tgScMat (that will be merged)

Details

In case genes sets differs between the matrices, the union is used, with zeros (not NAs!) filling up the missing genes in the respective matrix.