Description Usage Arguments Value Examples

View source: R/VariousFunctions.R

PAM clustering algorithm Model

1 | ```
PAM_Model(pamx, num_clusters, trainpharmat, train)
``` |

`pamx` |
result of pam clustering algorithm |

`num_clusters` |
number of clusters desired |

`trainpharmat` |
matrix of training for side effects |

`train` |
matrix of train features |

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

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)
``` |

```
```

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

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.