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.
1 | 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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.