Learn R Programming

AlphaSimR (version 0.10.0)

pullMultipleSnpHaplo: Pull SNP haplotypes for multiple chips

Description

Retrieves SNP haplotype data for multiple snp

Usage

pullMultipleSnpHaplo(pop, chips, haplo = "all", missing = 9,
  simParam = NULL)

Arguments

pop

an object of Pop-class

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 SimParam

Value

Returns a matrix of SNP haplotypes.