if (FALSE) {
demo_data # combiroc built-in demo data (proteomics data from Zingaretti et al. 2012 - PMC3518104)
combs <- combi(data= demo_data, signalthr=450, combithr=1, case_class='A') # compute combinations
# To train logistic regression models on each selected combinations and
# each selected marker, and compute corresponding ROCs.
reports <- roc_reports(data= demo_data, markers_table= combs,
selected_combinations= c(1,11,15),
single_markers=c('Marker1', 'Marker2'), case_class='A')
reports$Plot # Shows the ROC curves
reports$Metrics # Shows the ROC metrics
reports$Models # show models
reports$reports$Models$`Combination 11` # show model trained with Combination 11
}
Run the code above in your browser using DataLab