Skip to contents

# predict_labels

Source: `R/data_projection.R`
`predict_labels.Rd`

Uses the model generated with `train_transfer_model` to predict the labels of new samples.

## Usage

    predict_labels(
      fcd,
      input_type,
      data_slot,
      fcd_model,
      label = "predicted_labels",
      seed = 91
    )

## Arguments

fcd

  flow cytometry dataset.

input_type

  data to use for the calculation of the UMAP, e.g. "expr" or "pca".

data_slot

  name of the PCA data slot to use to harmonize. If no prefix was added the, `orig`.

fcd_model

  flow cytometry dataset containing Caret model for the label transfer.

label

  Label for the output column of the condor object which is saved in the clustering slot of the `fcd`.

seed

  A seed is set for reproducibility.

## Value

predict_labels

## Details

predict_labels