pull.markers | R Documentation |
Extract markers from a RAPD data set that have allele frequencies within a specified range.
pull.markers(dat,lo=0.1,hi=0.6,f=freq(dat))
dat |
A matrix of size (n.ind x n.mar) containing RAPD phenotypes, with 1 indicating the presence of a band and 0 indicating absence. |
lo |
Lower bound for band allele frequency. |
hi |
Upper bound for band allele frequency. |
f |
Vector of band allele frequencies (included in order to avoid recalculating it, if possible). |
A matrix, like the argument dat
, but containing only those
markers with band allele frequency between lo
and hi
.
Karl W Broman broman@wisc.edu
freq
data(shiff1)
f <- freq(shiff1)
subset <- pull.markers(shiff1, 0.1, 0.6, f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.