See ?try.
Andy
> From: Federico Calboli
>
> Dear All,
>
> I am trying to calculate the Hardy-Weinberg Equilibrium p-value for 42
> SNPs. I am using the function HWE.exact from the package "genetics".
>
> In order not to do a lot of coding "by hand", I have a for loop that
> goes through each
Federico Calboli wrote:
Dear All,
I am trying to calculate the Hardy-Weinberg Equilibrium p-value for 42
SNPs. I am using the function HWE.exact from the package "genetics".
In order not to do a lot of coding "by hand", I have a for loop that
goes through each column (each column is one SNP) and gi