Description Usage Arguments Value Examples
Initialize the matrix of features and Side Effects
1 | InitSideEffects(nameSideEffects)
|
nameSideEffects |
name of the file where the side effects are stored. The format has to be a binary matrix, where the rows are the drugs and columns are the various side effects (1/0 meaning presence or absence of a certain side effect). |
The matrix containing drugs side effects
1 2 3 | #Generate a sample features binary matrix
#for example you will fin the file pharmat.txt which is a sample file of side_effects matrix
#you can therefore type the command side_effects<-InitSideEffects("pharmat.txt") to upload it
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.