Re: [R-sig-phylo] Problem with bootstraping microstallite NJ tree

2016-01-21 Thread Emmanuel Paradis
Hi Vojtěch, The trouble comes from boot.phylo() which resamples the columns of the data matrix with replacement: this may result in a bootstrap sample without population column and loci2genind() doesn't like it. The trick is to delete this column from the original "loci" object, and then reas

[R-sig-phylo] Problem with bootstraping microstallite NJ tree

2016-01-21 Thread Vojtěch Zeisek
Hello, I have probably very simple problem, but I can't find the solution... :-( I wish to make bootstraped tree of attached microsatellite diploid data. It works fine with DNA sequences and I was using same code last year and it was working. :-) library(pegas) library(ape) LOCI <- read.loci("ssrs