Description Usage Arguments Value Examples
Function Implementing DrugClust with PAM algorithm
1 | DrugClustPAM(num_folds, num_clusters, num_iterations, features, side_effects)
|
num_folds |
number of folds |
num_clusters |
number of clusters |
num_iterations |
number of iterations |
features |
features matrix |
side_effects |
side_effects matrix |
(list(AUCFinal,AUPRFinal)) first value is the mean AUC on the various folders, second value is the mean AUPR on the various folders
1 2 3 4 5 6 | # num_folds=3
# num_clusters=4
# num_iterations= 5
#features is the features matrix (see InitFeatures function)
# side effects is the matrix containing side effects (see InitSideEffects function)
#result<-DrugClustPAM(num_folds,num_clusters,num_iterations,features,side_effects)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.