View source: R/otu_clustering.R
otu_clustering | R Documentation |
Clusters species in a community data object into Operational Taxonomy Units (OTUs) by sequence similariy.
otu_clustering(
com,
thr = 97,
method = "cd-hit",
folder = "OTU_clustering",
cleanup_files = F,
file = NULL,
use_saved = F
)
com |
a community data object. |
thr |
threshold of sequence similarity for OTU clustering. In percentage. |
method |
method of clustering, either 'cd-hit' or 'blastclust' |
file |
the name of the file where the data will be stored as 'RData' object. |
use_saved |
read data from 'file' instead of importing them from scratch. |
The function still depends of an external bash script ('otu_clustering.sh'), whcih makes portability problematic. Future changes will aim at solving this problem.
A list with community data.
otu_clustering()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.