snpInsideRunsCpp function

Function to count number of times a SNP is in a RUN

Function to count number of times a SNP is in a RUN

snpInsideRunsCpp(runsChrom, mapChrom, genotypeFile)

Arguments

  • runsChrom: R object (dataframe) with results per chromosome
  • mapChrom: R map object with SNP per chromosome
  • genotypeFile: genotype (.ped) file location

Returns

dataframe with counts per SNP in runs (per population)