BaderLab / EnrichmentMapApp

The EnrichmentMap Cytoscape App allows you to visualize the results of gene-set enrichment as a network.
http://apps.cytoscape.org/apps/enrichmentmap
GNU Lesser General Public License v2.1
31 stars 12 forks source link

Customizing heat strips #476

Closed ravipatel4 closed 2 years ago

ravipatel4 commented 2 years ago

Hello,

I am interested in customizing the heat strips to show some type of scores from different datasets. I have a table of scores (positive and negative values) for a number of genesets (rows) in seven different datasets (columns). I want to visualize these scores as heat strip, where the height (y-axis) of the strip would represent the score and the color would represent the dataset. Is there a way to do this using enrichmentmap? So far, I have been writing the scores in the FDR column of the generic enrichment results file format. This has allowed me to visualize the scores as strips with the height representing the magnitude and the direction representing positive vs negative (see the image below). However, this approach doesn't allow me to color the strips by the samples. Do you have any suggestions about how I could accomplish this?

Thank you.

image

mikekucera commented 2 years ago

Unfortunately there is no way to do this in Cytoscape. EnrichmentMap uses the built-in Cytoscape bar chart for the heat strips. This chart does not allow for separate columns to be used for bar height and bar color.

ravipatel4 commented 2 years ago

Ah I see. Thanks for a quick response. Since you are an expert in the subject matter, I was wondering if you are aware of any open source tool that allows creating custom charts as nodes of a network. Thanks.

mikekucera commented 2 years ago

You could take a look at the enhancedGraphics App: https://apps.cytoscape.org/apps/enhancedgraphics I've not used it before so I'm not sure if it can do what you need. If you do start experimenting with charts on an EnrichmentMap network then I advise to create a copy of the EM style and switch the network to the copy.

ravipatel4 commented 2 years ago

This is very helpful! I will look into enhancedGraphics App. Thank you so much for the advice!