Learn R Programming

RAM (version 1.2.0)

RAM.input.formatting: Data Input Formatting

Description

When use some RAM functions for the comparison of multiple OTU tables or taxonomic abundance matrices, the user needs to privde all input data sets as list with names being provided. [object Object],[object Object],[object Object],[object Object],[object Object]

Arguments

Examples

Run this code
data(ITS1, ITS2, meta)
# use otu tables
matched <- match.data(data=list(otu_ITS1=ITS1, otu_ITS2=ITS2), 
           is.OTU=TRUE, meta=meta)
# taxonomy abundance matrices
g1 <- tax.abund(ITS1, rank="g")
g2 <- tax.abund(ITS2, rank="g")
matched <- match.data(data=list(genus_ITS1=g1, genus_ITS2=g2), 
           is.OTU=FALSE, meta=meta)

Run the code above in your browser using DataLab