Beads_TrainTest: Wrapper function to generate datasets for model training

Description Usage Arguments

Description

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.

Usage

1
2
3
4
5
6
7
Beads_TrainTest(
  sample_size = 30,
  method = method,
  bsample = 5000,
  class_col = "BeadsSmp_ID",
  ...
)

Arguments

sample_size

A numeric vector. Number of samples (files) to be used.

method

A character vector. Clustering method for BeadsUnsup.

bsample

A numeric vector. Size of the sample from each class for to be passed to BalancedSample function.

class_col

A character vector with to label the column that identify the classes.


msenosain/denoisingCTF documentation built on Jan. 28, 2021, 2:23 a.m.