scn_prediction: singleCellNet training and prediction

Description Usage Arguments Value

View source: R/scn_prediction.R

Description

Trains a singleCellNet classifier and then predicts classification of query data

Usage

1
scn_prediction(query, stRef, expRef)

Arguments

query

The data which will be classified by the random forest classifier

stRef

Reference sample data. Needs to have a column named "cell" with cell names and one named "newAnn" with annotations/desired clasifications.

expRef

Reference experiment data. Should contain genes as row names, cell names as column names and contain gene expression levels in the matrix

Value

Returns a list with the trained classifier, predictions for the queried data, and assessment information from classifier training.


Chris-Cherry/sctools documentation built on Jan. 25, 2022, 2:19 p.m.