fmicompbio / monaLisa

binned motif enrichment analysis and visualisation
https://fmicompbio.github.io/monaLisa/
GNU General Public License v3.0
36 stars 6 forks source link

add PWM logos to heatmap #18

Closed LukasBurger closed 5 years ago

mbstadler commented 5 years ago

I have started working on this - for the moment seqlogo.R contains simplified code to draw a sequence logo (no axes, always scaled by information)

mbstadler commented 5 years ago

done - seqLogoGrob generates a sequence logo grob (grid-graphics objects) from a TFBSTools::PFMatrix, this is used in anno_seqlogo which is an annotation function generator that is compatible with ComplexHeatmap::Heatmap, and plotMotifHeatmaps pulls the PFMs from the SummarizedExperiment and adds them to the right of the labels, if show_seqlogo = TRUE