Infer most likely founder for a given SNP
inferMagicFounder(x, marker, prob_thr = 0.5) # S4 method for MagicGenPhen inferMagicFounder(x, marker, prob_thr = 0.5)
x | an object of class MagicData. |
---|---|
marker | name of SNP marker to infer founder. |
prob_thr | probability threshold for attributing a genotype to a founder. |
a data.frame with the most likely founder for each MAGIC line.
# to be added...