Description Usage Arguments Value Examples

View source: R/VariousFunctions.R

Function Implementing metrics calculation of AUPR

1 |

`predizioni` |
matrix of predictions |

`testpharmat` |
matrix of test for the Side Effects |

`vectorAUPR` |
empty vector to store AUPR |

`name` |
name of the clustering algorithm used (KSeeds, KMeans,PAM) |

vectorAUPR vector containing AUPR values for the various folds, the function also draws AUPR graphs

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.