View source: R/filter_monomorphic.R
filter_monomorphic | R Documentation |
Filter monomorphic markers. This filter will remove from the dataset markers with just one genotype phenotype:
genotypes are ALL homozygotes REF/REF (pp)
genotypes are ALL heterozygotes REF/ALT, ALT/REF (pq or qp)
genotypes are ALL homozygotes ALT/ALT (qq)
Filter targets: SNPs
Statistics: the number of genotype phenotypes
Used internally in radiator and might be of interest for users who wants to keep only polymorphic markers in their dataset.
filter_monomorphic(
data,
filter.monomorphic = TRUE,
parallel.core = parallel::detectCores() - 1,
verbose = FALSE,
...
)
data |
(4 options) A file or object generated by radiator:
How to get GDS and tidy data ?
Look into |
filter.monomorphic |
(optional, logical)
Default: |
parallel.core |
(optional) The number of core used for parallel
execution during import.
Default: |
verbose |
(optional, logical) When |
... |
(optional) Advance mode that allows to pass further arguments for fine-tuning the function. Also used for legacy arguments (see details or special section) |
A list with the filtered input, whitelist and blacklist of markers..
Thierry Gosselin thierrygosselin@icloud.com
filter_rad
,
tidy_genomic_data
, read_vcf
,
tidy_vcf
.
## Not run:
require(SeqArray) # when using gds
mono <- radiator::filter_monomorphic(data = "my.radiator.gds.rad", verbose = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.