Reads a diem genotype file, splits character data into a matrix, and optionally subsets individuals.
Unknown genotypes (U) are converted to _.
sImport(file, ChosenInds = "all")A character matrix with individuals in rows and markers in columns.
Path to the diem-formatted genotype file.
A vector of individual indices to keep, or "all" to retain all individuals.