Description Usage Arguments Details Value References See Also Examples

GBAmax implements a Guilt By Association (GBA) method based on the maximum of incident edge weights

1 | ```
GBAmax(W, ind.positives)
``` |

`W` |
numeric matrix representing the adjacency matrix of the graph |

`ind.positives` |
indices of the "core" positive examples of the graph. They represent the indices of W corresponding to the positive examples. |

GBAmax implements a Guilt By Association (GBA) method for label ranking based on the maximum between the edge weights connecting a node to its positive neighbours

a list with one element:

`p` |
score associated to each node |

Oliver, S., Guilt-by-association goes global, Nature, 403, pp. 601-603, 2000.

1 2 3 4 5 6 7 8 9 10 11 12 13 | ```
# Application of GBAmax to the prediction of the DrugBank category Penicillins
# using the Tanimoto chemical structure similarity network
# between 1253 DrugBank drugs
library(bionetdata);
data(DD.chem.data);
data(DrugBank.Cat);
labels <- DrugBank.Cat[,"Penicillins"];
ind.pos <- which(labels==1);
GBAmax(DD.chem.data, ind.pos);
# Application of GBAmax to the prediction of the DrugBank category "Anti_HIV_Agents"
labels <- DrugBank.Cat[,"Anti_HIV_Agents"];
ind.pos <- which(labels==1);
GBAmax(DD.chem.data, ind.pos);
``` |

RANKS documentation built on May 29, 2017, 12:24 p.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.