Learn R Programming

RAM (version 1.2.1.3)

valid.OTU: Validate an OTU Table

Description

This function consumes one or two OTU tables and checks if they are formatted properly and contain valid data.

Usage

valid.OTU(otu1, otu2 = NULL)

Arguments

otu1
the first OTU table to check.
otu2
the second OTU table to check.

Value

If the table is not valid, an error will be raised with a description explaining the problem. If the table is valid, NULL will be returned invisibly.

Examples

Run this code
data(ITS1, ITS2)
valid.OTU(ITS1)
valid.OTU(ITS1, ITS2)

Run the code above in your browser using DataLab