This is a test version of Biostars. For the public version, visit https://www.biostars.org.
heterozygosity

Hi, I have to calculate the heterozygosity of some individuals from a vcf file with R. How can I do?

heterozygosity

1 answer

Personally I prefer to use plink for such things as loading vcfs into memory in R can be painful.

plink --vcf in.vcf -het  --out my_samples

Log in to answer this question.