generate_markers_metadata | R Documentation |
Generate markers metadata: CHROM, LOCUS, POS, REF, ALT
when missing from tidy datasets.
generate_markers_metadata(
data,
generate.markers.metadata = TRUE,
generate.ref.alt = FALSE,
biallelic = NULL,
parallel.core = parallel::detectCores() - 1,
verbose = TRUE
)
data |
An object with a column named |
generate.markers.metadata |
(logical, optional)
Generate missing markers metadata when missing.
|
generate.ref.alt |
(logical, optional) Generate missing REF/ALT alleles
with: REF = A and ALT = C (for biallelic datasets, only).
It is turned off automatically
when argument |
biallelic |
(logical) Speed up the function execution by entering
if the dataset is biallelic or not. Used internally for verification, before
generating REF/ALT info.
By default, the function calls |
parallel.core |
(optional) The number of core used for parallel
execution during import.
Default: |
verbose |
(optional, logical) When |
Depending on argument's value, the same data is returned
in the global environment, with potential these additional columns:
CHROM, LOCUS, POS, REF, ALT
.
Thierry Gosselin thierrygosselin@icloud.com
detect_biallelic_markers
and separate_markers
## Not run:
tidy.data <- radiator::generate_markers_metadata(data = bluefintuna.data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.