detect_biallelic_markers: Detect biallelic data

View source: R/detect_biallelic_markers.R

detect_biallelic_markersR Documentation

Detect biallelic data

Description

Detect if markers in tidy dataset or radiator gds are biallelic. Used internally in radiator and might be of interest for users.

Usage

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(s)

Thierry Gosselin thierrygosselin@icloud.com


thierrygosselin/radiator documentation built on April 25, 2024, 3:20 a.m.