Installation

pip install dress-graph

Conda (coming soon)

conda install -c conda-forge dress-graph

Not yet available

The conda-forge package is pending review. Use pip install dress-graph in the meantime.

Or build from source:

cd python
pip install .

Rust

Add to Cargo.toml:

cargo add dress-graph

Or add to Cargo.toml manually:

[dependencies]
dress-graph = "0.1"

C / C++

mkdir build && cd build
cmake ..
make

This builds libdress (static and shared) and the header-only C++ wrapper.

Go

import "github.com/velicast/dress-graph/go"

Requires CGo and a C compiler.

JavaScript / WASM

npm install dress-graph

Or build from source:

cd wasm
bash build.sh

Then in Node.js:

import { dressFit, Variant } from 'dress-graph';

Julia

# From the repo root (uses Project.toml)
julia --project=julia
using DRESS

R

# From source
R CMD INSTALL r/

MATLAB / Octave

cd matlab
dress_build   % compiles the MEX file