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
)

Arguments

data

(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.

verbose

(optional, logical) verbose = TRUE to be chatty during execution. Default: verbose = FALSE.

parallel.core

(optional) The number of core used for parallel execution. Default: parallel.core = parallel::detectCores() - 1.

Value

A logical character string (TRUE/FALSE). That answer the question if the data set is biallelic or not.

Author

Thierry Gosselin thierrygosselin@icloud.com