doLDA: Run Linear Discriminant Analysis

Description Usage Arguments Value See Also

Description

Runs Fisher's LDA to discriminate 'grouping' via 'train', optionally attempting out-of-sample prediction using sample 'predict'

Usage

1
doLDA(train, predict, grouping, Layer = "lCount")

Arguments

train

SingleCellAssay

predict

SingleCellAssay

grouping

character vector of length 1 naming a column in the cData of 'train' and 'predict'

Layer

which layer should be used to train and predict?

Value

object of class 'LinearClassifier' and 'matrix'

See Also

doGLMnet, annotateBiPlot


amcdavid/SingleCellAnalysis documentation built on May 10, 2019, 10:27 a.m.