otu4type {otuSummary} | R Documentation |
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")
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.
Source
see the entire dataset at https://github.com/cran/OTUtable/tree/master/data
Examples
data(otu4type)
sapply(otu4type, class)
new <- typeConvert(otu4type)
sapply(new, class)
[Package otuSummary version 0.1.2 Index]