get_default_effect: Define default effect for a given graph
Description
Define default effect for a given graph
Usage
get_default_effect(graphres)
Value
A string that can be passed to parse_effect
Arguments
- graphres
The graph object, should have vertex attributes "outcome" and "exposure"