Function to count number of times a SNP is in a RUN
snpInsideRunsCpp(runsChrom, mapChrom, genotypeFile)
runsChrom
: R object (dataframe) with results per chromosomemapChrom
: R map object with SNP per chromosomegenotypeFile
: genotype (.ped) file locationdataframe with counts per SNP in runs (per population)
Useful links