exportStats: Various statistics of the count data.

Description Usage Arguments Value See Also Examples

View source: R/exportStats.R

Description

A matrix of values for each sample. The matrix consists of sample ids, the sample scaling factor, quantile value, the number identified features, and library size (depth of coverage).

Usage

1
exportStats(obj, p = cumNormStat(obj), file = "~/Desktop/res.stats.tsv")

Arguments

obj

A MRexperiment object with count data.

p

Quantile value to calculate the scaling factor and quantiles for the various samples.

file

Output file name.

Value

None.

See Also

cumNorm quantile

Examples

1
2
3
4
data(lungData)
dataDirectory <- system.file("extdata", package="metagenomeSeq")
exportStats(lungData[,1:5],file=file.path(dataDirectory,"tmp.tsv"))
head(read.csv(file=file.path(dataDirectory,"tmp.tsv"),sep="\t"))

metagenomeSeq documentation built on Nov. 8, 2020, 5:34 p.m.