Description Usage Arguments Details Value See Also
Identify segregating sites among a group of samples
1 | segregating(gty, nas.allowed = 0, allow.het = TRUE, ...)
|
gty |
a |
nas.allowed |
maximum proportion of missing genotypes to ignore |
allow.het |
logical; if |
... |
ignored |
A site is defined to be "segregating" if two or more alleles are present in one or
more copies across all samples. Sites at which missingness is greater than nas.missing
are set to NA
.
When allow.het = FALSE
, this is equivalent to asking whether at least one pair of samples
has a fixed difference at each site.
a named logical vector, of length equal to the number of rows in gty
,
indicating whether a site is segregating
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.