Re: [R-sig-phylo] bootstrapping with boot.phylo()

2011-03-16 Thread Gontran Sonet
Dear Klaus, dear Joe, This was indeed the problem: some values from the distance matrix were higher than 0.75 and the correction of all infinite values (in "FUN") to high values could avoid the "error". Thank you very much for your prompt and useful reply ! All the best, Gontran Sonet Joint Exp

Re: [R-sig-phylo] bootstrapping with boot.phylo()

2011-03-15 Thread Joe Felsenstein
Klaus Schliep wrote -- > I suspect that some elements in this distance matrix are close to 0.75 > than pairwise distances for the bootstrap samples are likely to be > equal or greater than 0.75. Most models ("K80", "JC69" etc.) are not > defined for distances >=0.75 and will return Inf or NaN (th

Re: [R-sig-phylo] bootstrapping with boot.phylo()

2011-03-15 Thread Klaus Schliep
Dear Gontran, for short sequences such a result can happen. Maybe you check whether any values in dist.dna(seq100b, model = "raw") are close to 0.75. I suspect that some elements in this distance matrix are close to 0.75 than pairwise distances for the bootstrap samples are likely to be equal or g

[R-sig-phylo] bootstrapping with boot.phylo()

2011-03-15 Thread Gontran Sonet
Dear all, When I make a bootstrapping analysis of relatively short DNA sequences (100bp), I have an error message: Error in bionj(dist.dna(seq100b, model = "K80", pairwise.deletion = FALSE, : NA/NaN/Inf in foreign function call (arg 1) I am not able to solve the problem since: 1)This "short s