Skip to content

Commit

Permalink
add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
phoeguo committed Aug 20, 2018
1 parent fea2cf9 commit 7c5bb18
Show file tree
Hide file tree
Showing 3 changed files with 402 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ mutation.dat <- getMutationsFromCbioportal("msk_impact_2017", "TP53")
# lollipop diagram with default options
g3Lollipop(mutation.dat, gene.symbol = "TP53")
```

>
> [live example](https://bl.ocks.org/phoeguo/raw/583a12e04c6b9d7ca1825cdbdc62f531/)
> [Live example](https://bl.ocks.org/phoeguo/raw/583a12e04c6b9d7ca1825cdbdc62f531/)
>
> <img src="./inst/demo/MSK_IMPACT_2017_TP53.png" width="600px">
>
Expand All @@ -59,10 +58,11 @@ g3Lollipop(mutation.dat,
factor.col = "Variant_Classification",
plot.options = plot.options)
```

> Lollipop plot:
>
> [Live example](https://bl.ocks.org/phoeguo/raw/302a0ff5729f6aa773c33d4bfd3061c4/)
>
> <img src="./inst/demo/TCGA_BRCA_PIK3CA.png" width="600px">
>
#### - Example 3

Expand Down Expand Up @@ -111,11 +111,11 @@ g3Lollipop(mutation.dat,
protein.change.col = protein.change.colname,
plot.options = plot.options)
```

> Lollipop plot:
>
> [Live example](https://bl.ocks.org/phoeguo/raw/60f804c6683de30650e36ee912304754/)
>
> <img src="./inst/demo/CCLE_APC.png" width="900px">
>
##

Expand Down
Loading

0 comments on commit 7c5bb18

Please sign in to comment.