check_refmix function

A helper function to check that the input data frame is OK

A helper function to check that the input data frame is OK

Just checks to make sure that column types are correct.

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.

  • Maintainer: Eric C. Anderson
  • License: CC0
  • Last published: 2024-01-24

Useful links