Description Usage Arguments Value Examples
View source: R/construct_phyloseq.R
This function uses a shared file (i.e. a mothur-formatted OTU contingency table),a taxonomy file (i.e. an RDP naive bayesian fixed-rank asignment detail) and an optional fasta file with representative sequences for every OTU as well as an optional metadata file to be merged into a phyloseq object.
1 2 3 4 5 6 7 8 | construct_phyloseq(
shared,
taxonomy,
otureps = NULL,
metadata = NULL,
remove_singletons = TRUE,
dataname = "phydata"
)
|
shared |
file location string for the shared file (preferably absolute path) |
taxonomy |
file location string for the taxonomy file (preferably absolute path) |
otureps |
optional file location for the respresentative fasta file ( preferably absolute path) |
metadata |
optional file location for the metadata.xlsx file (preferably absolute path) |
remove_singletons |
boolean (defaults to TRUE) indicating wether or not absolute singletonds should be removed |
dataname |
string indicating the name of data, will be used if the sample names are completely numerical as a prefix (default: "phydata") |
A phyloseq object
1 2 3 4 | ## Example without otureps
# make sure library(CMETNGS) is loaded
## Example with otureps
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.