griffithlab / GenVisR

Genome data visualizations
Creative Commons Zero v1.0 Universal
206 stars 62 forks source link

Split waterfall result plot based on clinical parameter #385

Open Pisto94 opened 2 years ago

Pisto94 commented 2 years ago

First of all, thank you for your package. It seems very useful and dynamic to approach mutational data.

I would like to ask if there is a parameter inside waterfall funcion (or maybe outside) to split result plot in two or three parts based on clinical data. An example is presented in attached figure.

i.e. if I have male-female parameter and I would like to split results plot in two parts based on this clinical information, is there something inside the function or outside (as facet_wrap) that allow it?

![Waterfall-plot-oncoplot-of-the-distribution-of-mutations-found-in-our-tumor-samples ppm] (https://user-images.githubusercontent.com/81160124/168758114-d94c3fa8-1f87-44fb-b651-4e5f9087ac26.png)

Thank you in advance