Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/read_phyloseq.R
Read the otu, taxonomy and metadata from various formats.
1 2 3 4 5 6 7 |
otu.file |
File containing the OTU table (for mothur this is the file with the .shared extension) |
taxonomy.file |
(for mothur this is typically the consensus taxonomy file with the .taxonomy extension) |
metadata.file |
File containing samples x variables metadata. |
type |
Input data type: 'mothur' or 'simple' or 'biom' type. |
sep |
CSV file separator |
See help(read_mothur2phyloseq) for details on the Mothur input
format; and help(read_biom2phyloseq) for details on the biom format.
The simple format refers to the set of CSV files written by the
write_phyloseq
function.
phyloseq-class
object
Sudarshan A. Shetty sudarshanshetty9@gmail.com
write_phyloseq
1 2 3 4 | # pseq <- read_phyloseq(otu.file,
# taxonomy.file,
# metadata.file,
# type=c('mothur', 'simple', 'biom'))
|
Loading required package: phyloseq
Loading required package: ggplot2
microbiome R package (microbiome.github.com)
Copyright (C) 2011-2020 Leo Lahti,
Sudarshan Shetty et al. <microbiome.github.io>
Attaching package: ‘microbiome’
The following object is masked from ‘package:ggplot2’:
alpha
The following object is masked from ‘package:base’:
transform
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.