Synchronize gds with samples and markers. If left NULL, the info is first search in the radiator node, if not found, it goes in the level above. An argument also allows to reset the filters.
sync_gds(
gds,
samples = NULL,
variant.id = NULL,
reset.gds = FALSE,
reset.filters.m = FALSE,
reset.filters.i = FALSE,
verbose = FALSE
)
The gds object.
(optional, character string). Will sync the gds object/file with
these samples. With default, uses the individuals in the radiator node.
If not found, goes a level above and uses the individuals in the main GDS.
Default: samples = NULL
.
(optional, integer string). Will sync the gds object/file with
these variant.id With default, uses the variant.id in the radiator node.
If not found, goes a level above and uses the variant.id in the main GDS.
Default: variant.id = NULL
.
(optional, logical) Default: reset.gds = FALSE
.
(optional, logical) To reset only markers/variant. Default: reset.filters.m = FALSE
.
(optional, logical) To reset only individuals. Default: reset.filters.i = FALSE
.
(optional, logical) Default: verbose = FALSE
.
sync_gds
, list_filters
.