check_refmix {rubias} | R Documentation |
A helper function to check that the input data frame is OK
Description
Just checks to make sure that column types are correct.
Usage
check_refmix(D, gen_start_col, type = "reference")
Arguments
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. |
Details
It also checks the patterns of missing data, and from that infers whether markers are haploid or diploid.
[Package rubias version 0.3.4 Index]