check_refmix {rubias} | R Documentation |
Just checks to make sure that column types are correct.
check_refmix(D, gen_start_col, type = "reference")
D |
the data frame |
gen_start_col |
the column in which the genetic data starts |
type |
For writing errors, supply "mixture" or "reference" as appropriate. |
It also checks the patterns of missing data, and from that infers whether markers are haploid or diploid.