Cal_AUC: Calculate Area Under the ROC Curve from Leave-One-Out...

Description Usage Arguments Value Examples

View source: R/Cal_AUC.r

Description

This function calculates the AUC for each selected subset of features from DMBC cross-validation results, and output the set of features which provide the greatest AUC.

Usage

1
Cal_AUC(CV = cv)

Arguments

CV

The output object from loocv()

Value

A data frame of 6 columns, comparison group1 label, comparison group2 label, number of features included in the model, AUC, AUC * prior probability, and selected features.

Examples

1
2
3
4
5
6
7
data(training)

#### using 10-fold cross-validation ###
Cal_AUC(tfcv(training))

#### using leave-one-out cross-validation ###
Cal_AUC(loocv(training))

qunfengdong/DMBC documentation built on April 22, 2020, 7:27 p.m.