bootstrap.seq | R Documentation |
This function bootstraps sequences from a model fitted by phyclust
and star trees generated by bootstrap.star.trees
.
The fitted model can be varied in .identifier
.
bootstrap.seq(ret.phyclust, star.trees)
ret.phyclust |
a phyclust object in |
star.trees |
star trees might be generated by |
ret.phyclust
is a phyclust object in Class phyclust
which is usually
fitted by phyclust
, or returned by phyclust.m.step
.
star.trees
should be corresponding to the ret.phyclust
which might
be directly bootstrapped from the function bootstrap.star.trees
.
Return a list containing sequences in K
clusters.
Wei-Chen Chen wccsnow@gmail.com
Phylogenetic Clustering Website: https://snoweye.github.io/phyclust/
phyclust
,
bootstrap.star.trees
,
bootstrap.star.trees.seq
.
## Not run:
library(phyclust, quiet = TRUE)
set.seed(1234)
EMC.1 <- .EMC
EMC.1$EM.iter <- 1
# the same as EMC.1 <- .EMControl(EM.iter = 1)
ret.1 <- phyclust(seq.data.toy$org, 2, EMC = EMC.1)
ret.tree <- bootstrap.star.trees(ret.1)
ret.seq <- bootstrap.seq(ret.1, ret.tree)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.