Learn R Programming

RAM (version 1.2.1.3)

read.OTU: Open OTU Table

Description

Opens the given file and returns a data frame representing the OTU table. This function use read.table function so is quite slow for large data sets, for which we recommend to use fread.OTU instead.

Usage

read.OTU(file, sep=",")

Arguments

file
a character vector specifying the file path to your file.
sep
the character used to separate cells in the file.

Value

Returns a data frame with the information from the file. The first row and column are used for the names of the other rows and columns.

See Also

getwd, setwd, read.table

Examples

Run this code
## Not run: 
# my.OTU <- read.OTU("path/to/otu", sep=",")## End(Not run)

Run the code above in your browser using DataLab