plotSPreFu: A plotting function of the predicted performance of...

Description Usage Arguments Value Author(s) References See Also Examples

Description

This function plots the predicted accuraces, Brier scores or Hazard ratios for each predictive function on a given dataset, as predicted by SPreFu.

Usage

1
plotSPreFu(restSPreFu)

Arguments

restSPreFu

an object returned by SPreFu

Value

A plot of predictive funcions and their expected performance (Accuracy, Brier score or Integrated Brier score)

Author(s)

Victor Lih Jong

References

Jong VL, Novianti PW, Roes KCB & Eijkemans MJC. Selecting a classification function for class prediction with gene expression data. Bioinformatics (2016) 32(12): 1814-1822;

See Also

estimateDataCha, fitLMEModel and SPreFu

Examples

1
2
3
4
5
6
7
8
9
#Let us consider a single simulated train data as our real-life dataset
myCov<-covMat(pAll=100, lambda=2, corrDE=0.75, sigma=0.25);
myData<-generateGED(covAll=myCov, nTrain=30, nTest=10);
data<-myData[[1]]$trainData;
dataY<-myData[[1]]$trainLabels;
myDataCha<-estimateDataCha(data, dataY);
myFit<-fitLMEModel();  #Takes roughly 250 Sec
myPred<-SPreFu(myDataCha, myFit);
plotSPreFu(myPred);

SPreFuGED documentation built on May 2, 2019, 9:40 a.m.