Validates PLINK files, phenotype records, GFF3 features, and sample ID overlap before launching intensive discovery pipelines.
Examples
if (interactive()) {
pheno <- data.frame(ID = sprintf("IND%02d", 1:10), trait = rnorm(10))
toy <- system.file("extdata", "toy", package = "HaploBreedR")
res <- hbr_check_inputs(
plink_prefix = file.path(toy, "toy"),
phenotype_data = pheno,
trait_col = "trait")
}
