sample_data | R Documentation |
Random sampling of dataset
sample_data( input.data, n = NULL, percentage = NULL, type = c("individual", "marker"), selected.ind = NULL, selected.mrk = NULL )
n |
number of individuals or markers to be sampled |
percentage |
if |
type |
should sample individuals or markers? |
selected.ind |
a vector containing the name of the individuals to select. Only has effect
if |
selected.mrk |
a vector containing the name of the markers to select. Only has effect
if |
x |
an object of class |
an object of class mappoly.data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.