pullMultipleSnpHaplo {AlphaSimR} | R Documentation |
Retrieves SNP haplotype data for multiple snp
pullMultipleSnpHaplo(pop, chips, haplo = "all", missing = 9, simParam = NULL)
pop |
an object of |
chips |
a vector. For each animal indicates what snp chip to use |
haplo |
either "all" for all haplotypes or an integer for a single set of haplotypes. Use a value of 1 for female haplotyes and a value of 2 for male haplotypes. |
missing |
What value to use for missing |
simParam |
an object of |
Returns a matrix of SNP haplotypes.