Re: [R-sig-phylo] Pegas Tajimas Test

2014-06-26 Thread Emmanuel Paradis
Hi Peters, This test cannot be used with 3 sequences. I've added a warning message about this. Best, Emmanuel Le 25/06/2014 12:17, Peters, Stuart a écrit : Hi, I am trying to run the Tajimas.test function from the r package 'Pegas' on a small sample of 3 DNA sequences and I get this

[R-sig-phylo] Pegas Tajimas Test

2014-06-25 Thread Peters, Stuart
Hi, I am trying to run the Tajimas.test function from the r package 'Pegas' on a small sample of 3 DNA sequences and I get this error: Error in if (p 0.5) 2 * p else 2 * (1 - p) : missing value where TRUE/FALSE needed ? Any ideas? Kind regards, Stuart [[alternative HTML

Re: [R-sig-phylo] Pegas Tajimas Test

2014-06-25 Thread Vojtěch Zeisek
Hi Dne St 25. června 2014 10:17:44, Peters, Stuart napsal(a): Hi, I am trying to run the Tajimas.test function from the r package 'Pegas' on a small sample of 3 DNA sequences and I get this error: Error in if (p 0.5) 2 * p else 2 * (1 - p) : missing value where TRUE/FALSE needed ?