Description Usage Arguments Value Warning
Subset a genotypes
object by markers or samples
1 2 |
x |
a |
expr |
logical expression indicating elements or rows to keep: missing values are taken as false
(just like |
by |
should |
... |
ignored |
a genotypes
object similar to x
, but with only the selected rows (by == "markers"
)
or columns (by == "samples"
). Attributes of x
including intensity matrices, filters,
marker map and sample metadata are all adjusted accordingly.
Since this function uses non-standard evaluation, be careful about expressions which include variables defined in both the global environment and in the scope of the call (eg. variables named same as columns of the marker map). In that case results may not be what you expect.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.