Skip to content

Instantly share code, notes, and snippets.

@eturkes
Last active July 25, 2019 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eturkes/756cc7fd5c35b2cf21eb2fab0ee05b83 to your computer and use it in GitHub Desktop.
Save eturkes/756cc7fd5c35b2cf21eb2fab0ee05b83 to your computer and use it in GitHub Desktop.
[ {
"format_version" : "1.0",
"generated_by" : "cytoscape-3.7.1",
"target_cytoscapejs_version" : "~2.1",
"title" : "EM1_Visual_Style",
"style" : [ {
"selector" : "node",
"css" : {
"background-opacity" : 0.8627450980392157,
"height" : 20.0,
"border-width" : 1.0,
"text-opacity" : 0.8627450980392157,
"background-color" : "rgb(240,240,240)",
"shape" : "ellipse",
"border-opacity" : 0.8627450980392157,
"font-family" : "SansSerif.plain",
"font-weight" : "normal",
"width" : 20.0,
"font-size" : 12,
"border-color" : "rgb(51,51,51)",
"text-valign" : "center",
"text-halign" : "center",
"color" : "rgb(0,0,0)",
"content" : "data(EnrichmentMap_GS_DESCR)"
}
}, {
"selector" : "node[EnrichmentMap_GS_Type = 'SIG']",
"css" : {
"shape" : "diamond"
}
}, {
"selector" : "node[EnrichmentMap_GS_Type = 'ENR']",
"css" : {
"shape" : "ellipse"
}
}, {
"selector" : "node[EnrichmentMap_GS_Type = 'SIG']",
"css" : {
"border-color" : "rgb(239,138,98)"
}
}, {
"selector" : "node[EnrichmentMap_GS_Type = 'ENR']",
"css" : {
"border-color" : "rgb(51,51,51)"
}
}, {
"selector" : "node[EnrichmentMap_Colouring_Abundance_of_Protein_ > 1]",
"css" : {
"background-color" : "rgb(178,24,43)"
}
}, {
"selector" : "node[EnrichmentMap_Colouring_Abundance_of_Protein_ = 1]",
"css" : {
"background-color" : "rgb(178,24,43)"
}
}, {
"selector" : "node[EnrichmentMap_Colouring_Abundance_of_Protein_ > 0.995][EnrichmentMap_Colouring_Abundance_of_Protein_ < 1]",
"css" : {
"background-color" : "mapData(EnrichmentMap_Colouring_Abundance_of_Protein_,0.995,1,rgb(178,24,43),rgb(178,24,43))"
}
}, {
"selector" : "node[EnrichmentMap_Colouring_Abundance_of_Protein_ > 0.95][EnrichmentMap_Colouring_Abundance_of_Protein_ < 0.995]",
"css" : {
"background-color" : "mapData(EnrichmentMap_Colouring_Abundance_of_Protein_,0.95,0.995,rgb(214,96,77),rgb(214,96,77))"
}
}, {
"selector" : "node[EnrichmentMap_Colouring_Abundance_of_Protein_ > 0.9][EnrichmentMap_Colouring_Abundance_of_Protein_ < 0.95]",
"css" : {
"background-color" : "mapData(EnrichmentMap_Colouring_Abundance_of_Protein_,0.9,0.95,rgb(244,165,130),rgb(244,165,130))"
}
}, {
"selector" : "node[EnrichmentMap_Colouring_Abundance_of_Protein_ > 0][EnrichmentMap_Colouring_Abundance_of_Protein_ < 0.9]",
"css" : {
"background-color" : "mapData(EnrichmentMap_Colouring_Abundance_of_Protein_,0,0.9,rgb(247,247,247),rgb(247,247,247))"
}
}, {
"selector" : "node[EnrichmentMap_Colouring_Abundance_of_Protein_ > -0.9][EnrichmentMap_Colouring_Abundance_of_Protein_ < 0]",
"css" : {
"background-color" : "mapData(EnrichmentMap_Colouring_Abundance_of_Protein_,-0.9,0,rgb(247,247,247),rgb(247,247,247))"
}
}, {
"selector" : "node[EnrichmentMap_Colouring_Abundance_of_Protein_ > -0.95][EnrichmentMap_Colouring_Abundance_of_Protein_ < -0.9]",
"css" : {
"background-color" : "mapData(EnrichmentMap_Colouring_Abundance_of_Protein_,-0.95,-0.9,rgb(67,147,195),rgb(146,197,222))"
}
}, {
"selector" : "node[EnrichmentMap_Colouring_Abundance_of_Protein_ > -0.995][EnrichmentMap_Colouring_Abundance_of_Protein_ < -0.95]",
"css" : {
"background-color" : "mapData(EnrichmentMap_Colouring_Abundance_of_Protein_,-0.995,-0.95,rgb(33,102,172),rgb(146,197,222))"
}
}, {
"selector" : "node[EnrichmentMap_Colouring_Abundance_of_Protein_ > -1][EnrichmentMap_Colouring_Abundance_of_Protein_ < -0.995]",
"css" : {
"background-color" : "mapData(EnrichmentMap_Colouring_Abundance_of_Protein_,-1,-0.995,rgb(33,102,172),rgb(67,147,195))"
}
}, {
"selector" : "node[EnrichmentMap_Colouring_Abundance_of_Protein_ = -1]",
"css" : {
"background-color" : "rgb(33,102,172)"
}
}, {
"selector" : "node[EnrichmentMap_Colouring_Abundance_of_Protein_ < -1]",
"css" : {
"background-color" : "rgb(33,102,172)"
}
}, {
"selector" : "node:selected",
"css" : {
"background-color" : "rgb(255,255,0)"
}
}, {
"selector" : "edge",
"css" : {
"target-arrow-color" : "rgb(0,0,0)",
"width" : 1.0,
"opacity" : 0.7843137254901961,
"text-opacity" : 0.7843137254901961,
"line-style" : "solid",
"source-arrow-shape" : "none",
"source-arrow-color" : "rgb(0,0,0)",
"target-arrow-shape" : "none",
"font-family" : "SansSerif.plain",
"font-weight" : "normal",
"content" : "",
"font-size" : 10,
"color" : "rgb(0,0,0)",
"line-color" : "rgb(64,64,64)"
}
}, {
"selector" : "edge[EnrichmentMap_similarity_coefficient > 1]",
"css" : {
"width" : 6.0
}
}, {
"selector" : "edge[EnrichmentMap_similarity_coefficient = 1]",
"css" : {
"width" : 5.0
}
}, {
"selector" : "edge[EnrichmentMap_similarity_coefficient > 0.375][EnrichmentMap_similarity_coefficient < 1]",
"css" : {
"width" : "mapData(EnrichmentMap_similarity_coefficient,0.375,1,1.0,5.0)"
}
}, {
"selector" : "edge[EnrichmentMap_similarity_coefficient = 0.375]",
"css" : {
"width" : 1.0
}
}, {
"selector" : "edge[EnrichmentMap_similarity_coefficient < 0.375]",
"css" : {
"width" : 0.5
}
}, {
"selector" : "edge[interaction = 'sig']",
"css" : {
"line-color" : "rgb(252,141,98)",
"target-arrow-color" : "rgb(252,141,98)",
"source-arrow-color" : "rgb(252,141,98)"
}
}, {
"selector" : "edge[interaction = 'Geneset_Overlap']",
"css" : {
"line-color" : "rgb(166,206,227)",
"target-arrow-color" : "rgb(166,206,227)",
"source-arrow-color" : "rgb(166,206,227)"
}
}, {
"selector" : "edge[interaction = 'Abundance of Protein']",
"css" : {
"line-color" : "rgb(166,206,227)",
"target-arrow-color" : "rgb(166,206,227)",
"source-arrow-color" : "rgb(166,206,227)"
}
}, {
"selector" : "edge[interaction = 'sig']",
"css" : {
"line-color" : "rgb(252,141,98)"
}
}, {
"selector" : "edge[interaction = 'Geneset_Overlap']",
"css" : {
"line-color" : "rgb(166,206,227)"
}
}, {
"selector" : "edge[interaction = 'Abundance of Protein']",
"css" : {
"line-color" : "rgb(166,206,227)"
}
}, {
"selector" : "edge[interaction = 'sig']",
"css" : {
"line-style" : "dashed"
}
}, {
"selector" : "edge[interaction = 'compound']",
"css" : {
"line-style" : "solid"
}
}, {
"selector" : "edge:selected",
"css" : {
"line-color" : "rgb(255,0,0)"
}
} ]
} ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment