read a table created in PICRUSt2 and gives format to downstream analysis

read_picrust2(data_picrust2, profile=TRUE, write=FALSE, 
database= c("KO", "EC", "pathway"))

Arguments

data_picrust2

a table, output of PICRUSt2 on tsv format.

profile

a logical value indicating if you want to print a profile or not.

write

a logical value indicating to save the data imported as a formatted table with .tsv extension with a time stamp

database

a character indicating for which database do you want to get the abundance profile. Valid options are "KO", "EC" or "pathway".

Details

This function is part of a package used for the analysis of bins metabolism.

Examples

if (FALSE) { # \dontrun{
read_picrust2(data_picrust2="inst/extdata/pred_metagenome_unstrat.tsv", 
database="KO", profile = F, write=F)
} # }