Description Usage Arguments Value Author(s) References See Also Examples
This function plots the predicted accuraces, Brier scores or Hazard ratios for each predictive function on a given dataset, as predicted by SPreFu.
1 | plotSPreFu(restSPreFu)
|
restSPreFu |
an object returned by SPreFu |
A plot of predictive funcions and their expected performance (Accuracy, Brier score or Integrated Brier score)
Victor Lih Jong
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;
estimateDataCha
, fitLMEModel
and SPreFu
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);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.