This example models drug interventions on cognitive outcome. In this example there are 4 kinds of nodes; sources, interventions, effects and outcomes.

The data model:

data model

The edges indicate many-to-one and one-to-many relationships. For example many publications analyze the effect 'Rhodiola rosea's effect on attention', so there is a many-to-one relationship there. An intervention may affect many outomes, so there is a one-to-many relationship there.

Connect to my local database:

library(graphninja)
g <- startGraph("http://localhost:7474/db/data/")
g


robertness/graphninja documentation built on May 27, 2019, 11:40 a.m.