extreme_cases | R Documentation |
Subset some samples that are mostly different.
extreme_cases(pheno, size, omit = NULL, iterations = 500)
pheno |
Data.frame with the sample information. |
size |
The number of samples to subset. |
omit |
Name of the columns of the |
iterations |
Numeric value of iterations that will be performed. |
A vector with the number of the rows that are selected.
optimum()
metadata <- expand.grid(height = seq(60, 80, 5), weight = seq(100, 300, 50),
sex = c("Male","Female"))
sel <- extreme_cases(metadata, 10)
# We can see that it selected both Female and Males and wide range of height
# and weight:
metadata[sel, ]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.