Skip to contents

This function retrieves a counts matrix from a MoleculeExperiment object based on the given assay type.

Usage

CountsMatrix(me, assayName, nCores = 1, ...)

Arguments

me

A MoleculeExperiment object.

assayName

A character string indicating the assay type. Supported values include "sub-sector", "sub-concentric", "sub-combo", "super-concentric", and "super-combo".

nCores

Number of cores for parallel processing (default 1)

...

arguments passing to MoleculeExperiment::countMolecules

Value

A counts matrix corresponding to the specified assay type.

Examples

# Assuming `data_obj` is your Molecule Experiment object
# cm = CountsMatrix(data_obj, assayName = "sub-sector")