R/getGeno.R
getGeno.Rd
Allows flexible import of SNP genotype data from Illumina FinalReport files,
using fast initial column detection via data.table::fread
, followed by
full genotype matrix construction with snpStats::read.snps.long
.
Additional optional arguments.
Path to the directory containing FinalReport.txt
List specifying column indices (sample, snp, allele1, allele2, confidence)
Allele codes (e.g., c("A", "B")
)
Confidence threshold
Field separator
Lines to skip
Logical; show progress
Frequency for progress updates
An SNPDataLong
object