maftools icon indicating copy to clipboard operation
maftools copied to clipboard

Lolipop with Mutant Allele Frequency instead of count

Open bkohrn opened this issue 4 years ago • 1 comments

It would be useful if we could plot values other than count on the lollipop plot; in particular, we often find ourselves wanting to plot Mutant Allele Frequency. Ideally, this would be accomplished by giving a column name for the values to plot. I've managed to program a variation that works for plotting Mutant Allele Frequency from our .maf files, but I'm not sure how to make it more generally applicable.

bkohrn avatar Jul 10 '21 02:07 bkohrn

Hi,

Is it possible to share a plot to demonstrate? I am guessing you would like to have VAF on the y-axis instead of frequency?

PoisonAlien avatar Jul 12 '21 07:07 PoisonAlien

Thanks for the amazing tool!

Same request here. Would be great if the function could take a dataframe of unique SNV records and a column of custom "height" data (e.g. VAF, number of samples) and make the plot.

A good reference could be: Screen Shot 2022-12-04 at 7 03 19 PM which was taken from this package (https://bioconductor.org/packages/release/bioc/vignettes/trackViewer/inst/doc/lollipopPlot.html#Change_the_height_of_a_lollipop_plot)

haochenz96 avatar Dec 05 '22 03:12 haochenz96

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Sep 07 '23 01:09 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Sep 22 '23 01:09 github-actions[bot]