This function checks the genotype object before passing the SNPs to 'scoreInvHap'. The function removes SNPs with different alleles or different allele frequencies. Nonetheless, it is possible that these SNPs could be recovered after an examination of the results. Be aware that testing of allele frequencies might fail for small datasets.
List with SNPs data from plink or
Should allele frequencies be check (Default: TRUE)
List containing the SNPs prepared for
genos: Object with genotype data ready for scoreInvHap
wrongAlleles: Character vector with the SNPs discarded due to having alleles different to reference
wrongFreqs: Character vector with the SNPs discarded due to having allele frequencies different to reference
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.