Detect if markers in tidy dataset or radiator gds are biallelic. Used internally in radiator and might be of interest for users.
detect_biallelic_markers(
data,
verbose = FALSE,
parallel.core = parallel::detectCores() - 1
)
(4 options) A file or object generated by radiator:
tidy data
Genomic Data Structure (GDS)
How to get GDS and tidy data ?
Look into tidy_genomic_data
,
read_vcf
or
tidy_vcf
.
(optional, logical) verbose = TRUE
to be chatty
during execution.
Default: verbose = FALSE
.
(optional) The number of core used for parallel
execution.
Default: parallel.core = parallel::detectCores() - 1
.
A logical character string (TRUE/FALSE). That answer the question if the data set is biallelic or not.