selkamand / ggoncoplot

Easily Create Interactive Oncoplots
https://selkamand.github.io/ggoncoplot/
Other
3 stars 0 forks source link

Add option to automatically filter out any samples with metadata but ZERO mutations, even if `show_all_samples = TRUE` #32

Closed selkamand closed 1 year ago

selkamand commented 1 year ago

33

Added the metadata_require_mutations which does exactly this. By default samples are ignored unless they have at least 1 mutation (doesn't matter what mutation it is - a.k.a doesn't need to be in topn genes, just anywhere in the original .data dataframe)

set metadata_require_mutations = TRUE to include these samples, but only do this if you're sure the sample has ZERO mutations. Unless your doing targeted panel sequencing, seeing 0 mutations is very unlikely