diff --git a/README.md b/README.md index 5bf08fc..eda4b8f 100644 --- a/README.md +++ b/README.md @@ -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 ----- diff --git a/tp53.png b/tp53.png index 8d35e40..140838a 100644 Binary files a/tp53.png and b/tp53.png differ diff --git a/tp53.svg b/tp53.svg index 00bc53b..7a87d46 100644 --- a/tp53.svg +++ b/tp53.svg @@ -11,7 +11,7 @@ - + diff --git a/tp53_more.png b/tp53_more.png new file mode 100644 index 0000000..8b24553 Binary files /dev/null and b/tp53_more.png differ