predict.SDA: Predict using SDA

View source: R/SDA_util.R

predict.SDAR Documentation

Predict using SDA

Description

Predict using sparse discriminant analysis

Usage

## S3 method for class 'SDA'
predict(new.data, sda.model, return_cell_score = T)

Arguments

new.data

a matrix containing new data to be predicted

sda.model

a fitted sparse discriminant analysis model

return_cell_score

a logical indicating whether to return the cell score or the predicted new data

Value

If return_cell_score is T, returns cell score, else returns the predicted new data.


eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.