pred_matrix {SIAMCAT} | R Documentation |
Function to retrieve the prediction matrix from a SIAMCAT object
pred_matrix(siamcat, verbose=1) ## S4 method for signature 'siamcat' pred_matrix(siamcat, verbose = 1)
siamcat |
(Required). A siamcat-class object that contains a prediction matrix |
verbose |
integer, if the slot is empty, should a message be printed?
values can be either |
The functions returns a matrix containing the predictions for all samples across the different cross-validation repeats. See make.predictions for more information.
A matrix containing predictions or NULL
data(siamcat_example) temp <- pred_matrix(siamcat_example) head(temp)