Beads_TrainTest.Rd
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.
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. |