# NOT RUN {
# }
# NOT RUN {
data(yeast)
dm <- dist.logDet(yeast)
tree <- NJ(dm)
fit <- pml(tree,yeast)
fit <- optim.pml(fit)
weight <- xtabs(~ index+genes,attr(yeast, "index"))
set.seed(1)
sp <- pmlCluster(edge~rate, fit, weight, p=1:4)
sp
SH.test(sp)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab