saveData | R Documentation |
Save data
saveAbundanceData(
x,
path_file = NULL,
file_type = c("delim", "csv", "csv2", "tsv", "excel_csv", "excel_csv2"),
...
)
saveTaxonomyData(
x,
path_file = NULL,
file_type = c("delim", "csv", "csv2", "tsv", "excel_csv", "excel_csv2"),
...
)
saveSampleData(
x,
path_file = NULL,
file_type = c("delim", "csv", "csv2", "tsv", "excel_csv", "excel_csv2"),
...
)
x |
|
path_file |
path to save the file along with name. Default is NULL. E.g. "data/output/otu_table.csv" |
file_type |
One of "delim","csv","csv2","tsv","excel_csv","excel_csv2"
supported by |
... |
Arguments to pass to readr functions |
Basic utilities for saving data in phyloseq
.
saveAbundanceData
save the otu_table.
saveTaxonomyData
save the taxa_table.
saveSampleData
save the sample_data.
Store file locally specified by user.
Sudarshan A. Shetty
Shetty SA (2020). Utilities for microbiome analytics. https://github.com/RIVM-IIV-Microbiome/biomeUtils
## Not run:
library(biomeUtils)
data("FuentesIliGutData")
saveAbundanceData(FuentesIliGutData, path_file = "otu.tsv", file_type = "tsv")
saveTaxonomyData(FuentesIliGutData, path_file = "taxa.tsv", file_type = "tsv")
saveSampleData(FuentesIliGutData, path_file = "sample.tsv", file_type = "tsv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.