qcSubset | R Documentation |
Select randomly some samples from an index
qcSubset(index, size, each = FALSE)
index |
A list of indices indicating which samples go to which subset. |
size |
The number of samples that should be taken. |
each |
A logical value if the subset should be taken from all the samples or for each batch. |
set.seed(50)
index <- create_subset(100, 50, 2)
QC_samples <- qcSubset(index, 10)
QC_samplesBatch <- qcSubset(index, 10, TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.