Learn R Programming

DrugClust (version 0.2)

PAM_Model: PAM_Model

Description

PAM clustering algorithm Model

Usage

PAM_Model(pamx, num_clusters, trainpharmat, train)

Arguments

pamx
result of pam clustering algorithm
num_clusters
number of clusters desired
trainpharmat
matrix of training for side effects
train
matrix of train features

Value

A matrix of model for prediction of uncharacterised drugs, given PAM clustering

Examples

Run this code
#pamx is the result of the PAM function
#trainpharmat is the side effect train matrix
#train is the feature train matrix
#A<-PAM_Model(pamx,4,trainpharmat,train)

Run the code above in your browser using DataLab