List current active filters in radiator GDS object. Reset specific filters or all filters at once.
reset_filters(
gds,
list.filters = TRUE,
reset.all = FALSE,
filter.individuals.missing = FALSE,
filter.individuals.heterozygosity = FALSE,
filter.individuals.coverage.total = FALSE,
detect.mixed.genomes = FALSE,
detect.duplicate.genomes = FALSE,
filter.reproducibility = FALSE,
filter.monomorphic = FALSE,
filter.common.markers = FALSE,
filter.ma = FALSE,
filter.mean.coverage = FALSE,
filter.genotyping = FALSE,
filter.snp.position.read = FALSE,
filter.snp.number = FALSE,
filter.short.ld = FALSE,
filter.long.ld = FALSE,
filter.hwe = FALSE,
filter.whitelist = FALSE
)
(2 options) A Genomic Data Structure (GDS) file or object
How to get GDS ?
Look into tidy_genomic_data
,
read_vcf
,
tidy_vcf
or write_gds
.
filters (logical, optional) List current active filters for individuals and markers.
Default: list.filters = TRUE
.
(logical, optional) Reset all individuals and markers filters.
Default: reset.all = FALSE
.
(logical, optional)
Default: filter.individuals.missing = FALSE
.
(logical, optional)
Default: filter.individuals.heterozygosity = FALSE
.
(logical, optional)
Default: filter.individuals.coverage.total = FALSE
.
(logical, optional)
Default: detect.mixed.genomes = FALSE
.
(logical, optional)
Default: detect.duplicate.genomes = FALSE
.
(logical, optional)
Default: filter.reproducibility = FALSE
.
(logical, optional)
Default: filter.monomorphic = FALSE
.
(logical, optional)
Default: filter.common.markers = FALSE
.
(logical, optional)
Default: filter.ma = FALSE
.
(logical, optional)
Default: filter.mean.coverage = FALSE
.
(logical, optional)
Default: filter.genotyping = FALSE
.
(logical, optional)
Default: filter.snp.position.read = FALSE
.
(logical, optional)
Default: filter.snp.number = FALSE
.
(logical, optional)
Default: filter.short.ld = FALSE
.
(logical, optional)
Default: filter.long.ld = FALSE
.
(logical, optional)
Default: filter.hwe = FALSE
.
(logical, optional)
Default: filter.whitelist = FALSE
.
if (FALSE) { # \dontrun{
# List active filters for individuals and markers
reset_filters(gds)
# You changed your decision concerning the genotyping threshold or
# entered the wrong one:
reset_filters(gds, filter.genotyping = TRUE)
} # }