This function generates training and test data sets for bead classification
model training. First it uses BeadsUnsup
to select for 'good' samples.
Then it uses BalancedSample
and TrainTest
to generate a
class-balanced training and test sets.
1 2 3 4 5 6 7 | Beads_TrainTest(
sample_size = 30,
method = method,
bsample = 5000,
class_col = "BeadsSmp_ID",
...
)
|
sample_size |
A numeric vector. Number of samples (files) to be used. |
method |
A character vector. Clustering method for |
bsample |
A numeric vector. Size of the sample from each class for
to be passed to |
class_col |
A character vector with to label the column that identify the classes. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.