exportStats {metagenomeSeq} | R Documentation |
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).
exportStats(obj, p = cumNormStat(obj), file = "~/Desktop/res.stats.tsv")
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. |
None.
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"))