InitSideEffect: InitSideEffect

Description Usage Arguments Value Examples

Description

Initialize the matrix of features and Side Effects

Usage

1
InitSideEffects(nameSideEffects)

Arguments

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

Value

The matrix containing drugs side effects

Examples

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

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