Learn R Programming

RAM (version 1.2.0)

shared.OTU: Summary of Shared OTUs Across ALL Subjects

Description

This function consumes OTU tables and returns a list summarizing information about the presence of the OTUs in samples.

Usage

shared.OTU(data)

Arguments

data
a list of OTU tables to be analyzed.

Value

  • shared.OTU returns a list containing the information calculated. The names associated with the list describe what that number represents; i.e. "#_of_OTUs_in_all_samples" shows how many OTUs in the given table were found to be present in all samples. The last item in the list is a character vector, containing the OTU number and taxonomic information of each OTU which was present in all samples. All entries in that column are of the form "OTU-taxonomic_classification".

See Also

decostand

Examples

Run this code
data(ITS1)
shared <- shared.OTU(data=list(ITS1=ITS1))
shared <- shared.OTU(data=list(ITS1=ITS1, ITS2=ITS2))

Run the code above in your browser using DataLab