This Repository is python codebase that calculates gap size and trend slopes. This was designed with the intention being included in the PFP pipeline
pip install mod[/path/or/url/to/mod-collector-0.1.0-py3-none-any.whl]
pip install -e [path/to/module/displaylab/mod-collector/python]
example
pip install -e /Users/uniquename/display-lab/mod-collector/mod-collector
python -m mod_collector.mod-collector [/path/to/spek_bs.json][/path/to/1_performers_all_measures.csv]
Note: This assumes that you installed the pfp pipeline installed and you have installed the esteemer package
cd $DISPLAY_LAB_HOME/vert-ramp-affirmation/vignettes/aspire
./$DISPLAY_LAB_HOME/vert-ramp-affirmation/pfp.sh
See vert-ramp-affirmation readme docs for more info
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX slowmo: <http://example.com/slowmo#>
construct {
?candidate slowmo:IsAboutMeasure ?measure .
?measure slowmo:WithComparator ?o3 .
?o3 slowmo:ComparisonValue ?o4 .
}
WHERE {
?candidate slowmo:IsAboutMeasure ?measure .
?measure slowmo:WithComparator ?o3 .
?o3 slowmo:ComparisonValue ?o4 .
}
Mod-Collector calculates the gap-size, trend slope and predicts monotonic,non-monotonic and no-trend.
Options:
-h | --help
print help and exit-p | --pathways
path to causal pathways-s | --spek
path to spek file (default to stdin)
Mod-Collector calculates the gap-size, trend slope and predicts monotonic,non-monotonic and no-trend.