Skip to content

Commit

Permalink
updating examples for new features
Browse files Browse the repository at this point in the history
  • Loading branch information
pbnjay committed Jan 14, 2015
1 parent ba11d6b commit d9d8ed9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,20 @@ are provided, it will also annotate them to the diagram using the
Example
-------

./lollipops -w=700 TP53 R273C R175H T125 R248Q#7f3333
Basic usage is just the gene symbol (ex: ``TP53``) and a list of
mutations (ex: ``R273C R175H T125 R248Q``)

Results in the following SVG image:
./lollipops TP53 R273C R175H T125 R248Q

![TP53 Lollipop diagram with 3 marked mutations](tp53.png?raw=true)
![TP53 Lollipop diagram with 4 marked mutations](tp53.png?raw=true)

More advanced usage allows for per-mutation color (e.x. sample type) and
size specification (i.e. denoting number of samples), along with text
labels and more:

./lollipops -labels TP53 R248Q#7f3333@131 R273C R175H T125@5

![TP53 Lollipop diagram with 5 customized mutations](tp53_more.png?raw=true)

Usage
-----
Expand Down
Binary file modified tp53.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tp53.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tp53_more.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d9d8ed9

Please sign in to comment.