This is a test version of Biostars. For the public version, visit https://www.biostars.org.
how to color positive and negative correlation in Cytoscape

I have got four-column in Cytoscape input file having a source, target, and edge attributes, I want to show the positive and negative correlation (edge attributes) with different colors so do I need to add one more column for the type of correlation (positive, negative) to color these and then can I change the edge width based on correlation value?

       Source      Target                      cor              p
    Actinobaculum  Actinomyces   -0.083166733306677  0.557766591033679
    Actinobaculum  Chroflexi     -0.057666197516258  0.684693748325992
    graevenitzii     naeslundii  -0.057666197516258  0.684693748325992
    Actinobaculum  Actinomyces    0.082972778302491   0.558688695520664
cytoscape

1 answer

Hi, this link to the Cytoscape manual might be helpful: Cytoscape Styles You can use your existing column and update the visual representation using the Edge properties tab in the Styles panel. Hope this helps. Thanks.

Log in to answer this question.