query_predict: Fine-tuning and predict for the query data

View source: R/predict.R

query_predictR Documentation

Fine-tuning and predict for the query data

Description

Fine-tuning and predict for the query data

Usage

query_predict(
  queryObj,
  model,
  path_out,
  outprefix = "query",
  disease = FALSE,
  prob_cutoff = 0.9
)

Arguments

queryObj

Seurat object for query data.

model

The pre-trained model.

path_out

File path of the output files.

outprefix

Prefix of the output files. DEFAULT: query.

disease

Depend on your data is in some disease condition or not, choose from 'TRUE' or 'FALSE'. DEFAULT: 'FALSE'.

prob_cutoff

Cutoff for prediction probability. DEFAULT: 0.9.

Value

A list which includes prediction results and corresponding probability for query data.


SELINA-team/SELINA.R documentation built on Sept. 17, 2022, 8:45 a.m.