MRcounts: Accessor for the counts slot of a MRexperiment object

View source: R/allClasses.R

MRcountsR Documentation

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

Author(s)

Joseph N. Paulson, jpaulson@umiacs.umd.edu

Examples


data(lungData)
head(MRcounts(lungData))


HCBravoLab/metagenomeSeq documentation built on March 17, 2024, 3:21 p.m.