filter_snp | R Documentation |
multidog()
.Filter based on provided logical predicates in terms of the variable
names in x$snpdf
. This function filters both x$snpdf
and x$inddf
.
filter_snp(x, expr)
x |
The output of |
expr |
Logical predicate expression defined in terms of the variables
in |
David Gerard
multidog()
:For the variables in x$snpdf
which you can filter by.
## Not run:
data("uitdewilligen")
mout <- multidog(refmat = t(uitdewilligen$refmat),
sizemat = t(uitdewilligen$sizemat),
ploidy = uitdewilligen$ploidy,
nc = 2)
## The following filters are for educational purposes only and should
## not be taken as a default filter:
mout2 <- filter_snp(mout, bias < 0.8 & od < 0.003)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.