post_gate.Rd
This function compares the pre-gated files with the gated files and adds the
label of noise and cells to the events in each file. Then it uses
BalancedSample
and TrainTest
to generate a class-balanced
training and test sets. The working directory should be the folder that
contains the gated files and the pre-gated files should be one directory up.
post_gate(bsample = 5000, path_pregated = "../")
bsample | A numeric vector. Size of the sample from each class for
to be passed to |
---|---|
path_pregated | A character vector with full path names. Default is the one directory up. |