Dump all of curatedMetagenomicData as two .csv files
dataDump(dataType = "relative_abundance", counts = FALSE)
(default: "relative_abundance")
Data type, passed on to returnSamples
.
(Default: FALSE)
Whether to convert to count-like data by multiplying through by read depth.
Passed on to returnSamples
.
The SummarizedExperiment or TreeSummarizedExperiment containing all of cMD for the data type requested. Calling this function has the side-effect of also writing two csv files, one for the assay data of this object and one for the colData.
This function also removes control samples from the NielsenHB_2014 study, which are duplicated in the LeChatelierE_2013 study. The cMD version number is put in the filename.
if (FALSE) {
tse <- dataDump()
tse
dir(pattern = "\\.csv")
}