Skip to contents

Predict cell labels of query data using cell labels of reference data.

Usage

Run.LabelTransfer.Single(
  ref_data,
  ref_group,
  query_data,
  do.cosine = T,
  do.scale = F,
  conf.score = T,
  proj.dims = 30,
  eta = 0.25,
  smooth.k = 5
)

Arguments

ref_data

Reference data matrix.

ref_group

Reference labels.

query_data

Query data matrix.

do.cosine

Whether to cosine normalize the data matrices.

do.scale

Whether to perform scaling.

conf.score

Whether to calculate confidence scores.

proj.dims

Projection dimension of query data to reference data.

eta

The proportion of cells that are considered reliably projected.

smooth.k

Using kNNs to smooth the scores.