Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

mod-collector

This Repository is python codebase that calculates gap size and trend slopes. This was designed with the intention being included in the PFP pipeline

Install the mod-collector package globally

pip install mod[/path/or/url/to/mod-collector-0.1.0-py3-none-any.whl]

Installing the Mod-Collector package in development mode

pip install -e [path/to/module/displaylab/mod-collector/python]

example

pip install -e /Users/uniquename/display-lab/mod-collector/mod-collector

Running the Mod-Collector script

 python -m mod_collector.mod-collector [/path/to/spek_bs.json][/path/to/1_performers_all_measures.csv]

Running the pfp pipeline (pfp.sh)

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

How it works

Query inside

    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

Mod-Collector calculates the gap-size, trend slope and predicts monotonic,non-monotonic and no-trend.

Use (in progress):

Options:

  • -h | --help print help and exit
  • -p | --pathways path to causal pathways
  • -s | --spek path to spek file (default to stdin)

Default Mod-Vollector Criteria

Mod-Collector calculates the gap-size, trend slope and predicts monotonic,non-monotonic and no-trend.

About

This Repository is python codebase that calculates gap size and trend slopes. This was designed with the intention being included in the PFP pipeline

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages