pred_matrix-methods.Rd
Function to retrieve the prediction matrix from a SIAMCAT object
pred_matrix(siamcat, verbose=1) # S4 method for 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 |
A matrix containing predictions or NULL
The functions returns a matrix containing the predictions for all samples across the different cross-validation repeats. See make.predictions for more information.
#> CV_rep1 CV_rep2 #> CCIS27304052ST-3-0 0.012996378 4.018433e-05 #> CCIS15794887ST-4-0 0.028338574 2.510548e-01 #> CCIS74726977ST-3-0 0.760802351 9.849912e-01 #> CCIS16561622ST-4-0 0.008365059 6.470416e-02 #> CCIS79210440ST-3-0 0.170263425 2.269210e-01 #> CCIS82507866ST-3-0 0.062054480 6.437584e-05