DaMiR.EnsL_Predict: Predict new samples class

Description Usage Arguments Details Value Author(s) Examples

View source: R/Classif_2_Classes_Predict.R

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

1

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

1
2
3
# use example data:
data(selected_features)
data(df)

DaMiRseq documentation built on Nov. 8, 2020, 5:53 p.m.