exportStats: Various statistics of the count data.

View source: R/exportStats.R

exportStatsR Documentation

Various statistics of the count data.

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

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


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"))


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