AUC: AUC

Description Usage Arguments Value Examples

View source: R/VariousFunctions.R

Description

Function Implementing metrics calculation of AUC

Usage

1
AUC(predizioni, testpharmat, vectorAUC, name)

Arguments

predizioni

matrix of predictions

testpharmat

matrix of test for the side effects

vectorAUC

empty vector where the AUC values will be saved

name

string stating the name of the clustering Algorithm used, KSeeds, Kmeans or PAM

Value

vectorAUC vector containing the various AUC values for the various folds. Moreover the function draw the graph of AUC

Examples

1
2
3
4
5
#' #Function for obtaining AUC
#Once you have obtained predizioni with the Prediction function you can apply
#this AUC function using the following command (testpharmat sideeffects test matrix)
#vectorAUC<-numeric()
#vectorAUC<-AUC(predizioni,testpharmat,vectorAUC,"KSeeds")

Example output



DrugClust documentation built on May 30, 2017, 2:30 a.m.