Phangorn bootstrap option
1
0
Entering edit mode
7.0 years ago
Speed.Lee ▴ 30

I am using phangorn, maximum likelihood to estimate tree.

optim.pml process, I used rearrangement = "stochastic",

fit <-optim.pml(fit, multicore=TRUE, rearrangement = "stochastic")

so when bootstrap I should use optnni = TRUE or go straight forward? What is the difference, and the

bs <- bootstrap.pml(fit, bs=100, optnni = TRUE)

Sorry for the silly question but I cannot find an answer by search.

R phangorn • 1.7k views
ADD COMMENT
0
Entering edit mode
7.0 years ago
Speed.Lee ▴ 30

I just read a Phangorn vignettes, in appendix:

fit = optim.pml(fitNJ, rearrangement = "stochastic", optInv=TRUE,optGamma=TRUE)

fit

bs = bootstrap.pml(fit, bs=100, optNni=TRUE, multicore=TRUE)

This solves the problem.

But I still do not know the difference.

ADD COMMENT

Login before adding your answer.

Traffic: 2068 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6