DaMiR.EnsL_Predict {DaMiRseq}R Documentation

Predict new samples class

Description

The best model learned by the DaMiR.EnsL_Train functionn is tested on a new dataset, in order to predict the samples class

Usage

DaMiR.EnsL_Predict(data, bestModel)

Arguments

data

A SummarizedExperiment object or a data frame/matrix of normalized expression data. Rows and Cols should be observations and features, respectively.

bestModel

The best model, selected between those trained by the DaMiR.EnsL_Train function.

Details

This function implements the prediction step on new data, given a model learned by DaMiR.EnsL_Train

Value

A matrix containing the predictions

Author(s)

Mattia Chiesa, Luca Piacentini

Examples

# use example data:
data(selected_features)
data(df)


[Package DaMiRseq version 2.5.4 Index]