Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tool to calculate signature scores
Haskell R
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
src
.gitignore
LICENSE
README.markdown
Setup.hs
sigscore.cabal

README.markdown

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.

Something went wrong with that request. Please try again.