readPOPCpp function

Function to return a dataframe of population (POP, ID)

Function to return a dataframe of population (POP, ID)

This is a core function. Read PED file and returns a data.frame with the first two columns

readPOPCpp(genotypeFile)

Arguments

  • genotypeFile: genotype (.ped) file location

Returns

a dataframe of POP, ID