Description Usage Arguments Value Note Author(s) Examples
Sample columns from an MSA
1 2 3 |
x |
An object of type |
size |
The number of columns to sample |
replace |
Whether to sample with replacement |
prob |
A vector of probability weights for sampling each column;
|
pointer.only |
If |
An object of type msa
with columns randomly
re-sampled from the original
This function is implemented using R's sample function in conjunction with "[.msa". It will not alter the value of x even if it is stored as a pointer.
Melissa J. Hubisz and Adam Siepel
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.