read_picrust2: Read the output of PICRUSt2

View source: R/READ-read_picrust2.R

read_picrust2R Documentation

Read the output of PICRUSt2

Description

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

Usage

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

## Not run: 
read_picrust2(data_picrust2="inst/extdata/pred_metagenome_unstrat.tsv", 
database="KO", profile = F, write=F)

## End(Not run)

mirnavazquez/RbiMs documentation built on March 6, 2024, 10:27 p.m.