getLocusCPT function

getLocusCPT: a function for obtaining the coditional probability table from a specific locus.