Skip to content

b4winckler/sigscore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a command line tool that can compute up-down signature probabilities. For more information on up-down signatures see the up-down-signature library.

The tool reads lines of space or comma separated numbers from stdin. The first line represents the categorical variable which is intepreted as a list of integers. Subsequent lines are intepreted as lists of doubles. Each line must have the same number of entries as the first line. The up-down signature (cumulative) probability is calculated for each line and printed on stdout.

Usage in R

See the sigscore() function in the bapp library on how to call this tool from within R. Also see the examples directory.

Installation

Download a binary version and put it somewhere in your path.

Alternatively, clone this repository and build it with cabal:

$ git clone https://github.com/b4winckler/sigscore.git
$ cd sigscore
$ cabal install

Note that this requires that you have installed a Haskell compiler and cabal, both of which are included in the Haskell platform.

About

Tool to calculate signature scores

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published