PAM_Model: PAM_Model

Description Usage Arguments Value Examples

View source: R/VariousFunctions.R

Description

PAM clustering algorithm Model

Usage

1
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

1
2
3
4
#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)

Example output



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