View source: R/filter_whitelist.R
read_whitelist | R Documentation |
Read a whitelist object or file.
Used internally in radiator and might be of interest for users.
read_whitelist(whitelist.markers = NULL, verbose = FALSE)
whitelist.markers |
(path or object)
The whitelist is an object in your
global environment or a file in the working directory (e.g. "whitelist.txt").
The dataframe contains one, a combination
or all of these columns: |
verbose |
(optional, logical) When |
multi allelic datasets:
Example: VCF with haplotypes containing CHROM, LOCUS, POS
columns:
If the whitelist was not created from the same dataset,
the filtering could result in losing all the markers.
The POS column is different in biallelic and multiallelic file...
Thierry Gosselin thierrygosselin@icloud.com
filter_whitelist
.
## Not run:
wl <- radiator::read_whitelist(data = data, whitelist.markers = "mywhitelist.tsv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.