Javascript library for visualizing genomics data with D3.
JavaScript HTML Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
src
test
.gitignore
LICENSE
Makefile
README.md
bower.json
gd3.js
package.json

README.md

#gd3

A library of genomics visualizations.

Setup

  1. Requirements: npm and node.
  2. Clone: git clone https://<user>@bitbucket.org/raphaellab/gd3.git.
  3. Install dependencies: npm install.

To use the Python scripts, you must also:

  1. Clone HotNet2: git clone https://<user>@bitbucket.org/raphaellab/hotnet2.git.
  2. Add "HOTNET" environment variable: Add setenvvar HOTNET <path/to/hotnet2/checkout> to ~/.environment

Javascript: (js/)

Visualization scripts

Mutation Matrix(js/mutation-matrix.js)

Subnetworks(js/subnetwork.js)

Transcript Plot(js/transcript-plot.js)

Styles (js/style/)

Pre-defined style files.

js/default-style.js: default styles

js/pancancer-sample-coloring.json: cancer type -> color mapping for PanCancer

Draw (.)

Python scripts for saving visualizations to SVG.

Python Mutation Matrix (drawMutationMatrix.py)

Usage: see python drawMutationMatrix.py -h

Node.js scripts for saving visualizations to SVG.

Mutation Matrix(drawMutationMatrix.js)

Usage: node drawMutationMatrix.js --json=</path/to/json> --outdir=</path/to/output>

Transcript Plot(drawTranscriptPlot.js)

Usage: node drawTranscriptPlot.js --json=</path/to/json> --outfile=</path/to/output/file>