Detect if the dataset was de novo or reference genome assembled
detect_ref_genome(chromosome = NULL, data = NULL, verbose = TRUE)
(string) String with chromosome ID, unique or not.
Default: chromosome = NULL
.
(optional, path or object) radiator GDS object or file. When this argument is used, the function look inside the GDS radiator node for:
reference.genome
node and TRUE/FALSE
value
markers.meta
node and detect the information using the CHROM
column
chromosome
node directly.
Default: data = NULL
.
(optional, logical) When verbose = TRUE
the function is a little more chatty during execution.
Default: verbose = TRUE
.
TRUE/FALSE if dataset is assembled with a reference genome or not.
if (FALSE) { # \dontrun{
ref.genome <- radiator::detect_ref_genome(chromosome = tidy.data$CHROM)
} # }