pre_gate: Preprocess data before debris manual gating

Description Usage Arguments

View source: R/build_debris_dataset.R

Description

This function selects a random sample and reads the FCS files, remove zeros and beads and then adds a row ID column and writes a new FCS file. It uses files on current working directory. Files should have same parameters desc/column names.

Usage

1
2
3
4
5
6
pre_gate(
  sample_size = 20,
  use.current.model = TRUE,
  model_beads = model_beads,
  alg_bd = "RF"
)

Arguments

sample_size

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

use.current.model

Logical. If FALSE, an object of class train can be passed to the argument model_beads. Default is TRUE.

model_beads

Object of class train. Needed if use.current.model is FALSE.

alg_bd

A character vector with the name of the algorithm used to train model_beads. It can be 'RF' for Random Forest or 'XGB' for XGBoost.


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