read_microbiome_data: Microbiome data input

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Reads a file in list format and eliminate invalid taxa and samples (preprocessing)

Usage

1
read_microbiome_data(file, eliminate_taxa_threshold = 0)

Arguments

file

the name of the file which the data are to be read from. Data should be in list format with three dimensions: otu, taxa and meta.

eliminate_taxa_threshold

threshold for deciding unexpressed level to be elminated

Value

A list of microbiome data after preprocessing

Examples

1
humann_2 <- read_microbiome_data("data.bactRPK.marginal.DRNA.ZOE2.rds",eliminate_taxa_threshold=0.1)

lcw68/jointImpute documentation built on Dec. 21, 2021, 9:46 a.m.