Description Usage Arguments Value Author(s) Examples
The function can be used to building tree.
1 2 3 4 5 6 7 8 9 10 | build_tree(seqs, ...)
## S4 method for signature 'DNAStringSet'
build_tree(seqs, ...)
## S4 method for signature 'DNAbin'
build_tree(seqs, ...)
## S4 method for signature 'character'
build_tree(seqs, ...)
|
seqs |
DNAStringSet or DNAbin, the object of R. |
..., |
additional parameters, see also |
the phylo class of tree.
Shuangbin Xu
1 2 3 4 5 6 7 8 9 | seqtabfile <- system.file("extdata", "seqtab.nochim.rds",
package="MicrobiotaProcess")
seqtab <- readRDS(seqtabfile)
refseq <- colnames(seqtab)
names(refseq) <- paste0("OTU_",seq_len(length(refseq)))
# refseq <- Biostrings::DNAStringSet(refseq)
# tree <- build_tree(refseq)
# or
# tree <- build_tree(refseq)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.