write_phyloseq {microbiome} | R Documentation |
Writes the otu, taxonomy and metadata in csv files.
write_phyloseq(x, type = "all", path = getwd())
x |
|
type |
'OTU' or 'TAXONOMY' or 'METADATA' |
path |
Path to the directory/folder where the data will be written. Uses the working directory by default. |
Output file path (a string)
read_phyloseq
#data(dietswap) #pseq <- dietswap ## By default writes all info at once (ie OTU/TAXONOMY/METADATA) #write_phyloseq(pseq) #write_phyloseq(pseq, 'OTU') #write_phyloseq(pseq, 'TAXONOMY') #write_phyloseq(pseq, 'METADATA')