Learn R Programming

metagenomeSeq (version 1.14.0)

MRcounts: Accessor for the counts slot of a MRexperiment object

Description

The counts slot holds the raw count data representing (along the rows) the number of reads annotated for a particular feature and (along the columns) the sample.

Usage

MRcounts(obj, norm = FALSE, log = FALSE, sl = 1000)

Arguments

obj
a MRexperiment object.
norm
logical indicating whether or not to return normalized counts.
log
TRUE/FALSE whether or not to log2 transform scale.
sl
The value to scale by (default=1000).

Value

Normalized or raw counts

Examples

Run this code

data(lungData)
head(MRcounts(lungData))

Run the code above in your browser using DataLab