Skip to contents

# Predict clinical classification.

Source: `R/clinical_classifier.R`
`predict_classifier.Rd`

This function uses the model trained with *train_classifier_model* to predict the clinical classification of new samples. This function uses the *CytoDx* framework.

## Usage

    predict_classifier(
      fcd,
      input_type,
      data_slot,
      sample_names = "expfcs_filename",
      model_object,
      seed = 91
    )

## Arguments

fcd

  flow cytometry data set.

input_type

  data to use for the calculation, e.g. "expr" (suggested option).

data_slot

  Name of the data slot to use for the classification, suggested options are "orig" or "norm".

sample_names

  Column name of the metadata table containing the file names.

model_object

  flow cytometry data set with the stored classifier model.

seed

  A seed is set for reproducibility.

## Value

predict_classifier

## Details

Predict Clinical Classifier

`predict_classifier()` is a wrapper function around `CytoDx.pred` implemented in the package *CytoDx*. The user can specify all the parameters available for the `CytoDx.pred` functions, arguments description were copied from the documentation of the *CytoDx* package. The function output a *condor* object including the predicted labels in the *extras* slot.