Learn R Programming

otuSummary (version 0.1.2)

otu4type: An example OTU table with samples and taxonomy in rows and otus in columns

Description

A data set containing bacterial counts from the North Temperate Lakes Microbial Observatory. Due to the last row contain taxonomy, read.table function with default setting will treat the type of each column as factor.

Usage

data("otu4type")

Arguments

Format

A data frame with 591 columns (OTUs) and 454 rows (453 samples plus 1 taxonomy).

Details

This data show examples of "SiteInRow" if there is a taxonomy rows. When read in, the column with numeric counts will be marked as "factor". This data set could be transposed to correct type with "typeConvert" function.

Examples

Run this code
data(otu4type)
sapply(otu4type, class)
new <- typeConvert(otu4type)
sapply(new, class)

Run the code above in your browser using DataLab