predict.flowForest: Predict method for flowForest objects

Description Usage Arguments Value

View source: R/forest.R

Description

This function predicts classes of new objects with given flowForest object.

Usage

1
2
## S3 method for class 'flowForest'
predict(object, x, testMask = 1:x[2], type = "response", ...)

Arguments

object

flowForest object (as that created by the function flowForest), that will be used for prediction.

x

Test data, flow cytometry measurements in a form of a tubeset, as that created by the function loadTubeset.

testMask

A vector of indices of objects in tubeset which are to be assumed to reside in the test set. By default the whole set.

type

"score" or "class" - types of returned value. In first case score from trees voting for each object is returned; otherwise - the most frequent class in voting.

...

Ignored

Value

If type == "class" - predicted class of each object in tubeset is returned; if type == "score" - score is returned - a real number from between 0 and 1, obtained from voting.


flowforest/flowforest documentation built on April 14, 2020, 4:41 a.m.