Skip to content

Instantly share code, notes, and snippets.

@eturkes
Last active July 25, 2019 18:14
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/81a5654d3b9e81945d7a65e174b0b1e1 to your computer and use it in GitHub Desktop.
Save eturkes/81a5654d3b9e81945d7a65e174b0b1e1 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" : {
"height" : 40.0,
"text-opacity" : 0.8627450980392157,
"background-color" : "rgb(240,240,240)",
"font-family" : "SansSerif.plain",
"font-weight" : "normal",
"border-opacity" : 0.8627450980392157,
"border-color" : "rgb(51,51,51)",
"shape" : "ellipse",
"text-valign" : "center",
"text-halign" : "center",
"border-width" : 1.0,
"color" : "rgb(0,0,0)",
"font-size" : 12,
"background-opacity" : 0.8627450980392157,
"width" : 40.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_GS_Type = 'SIG']",
"css" : {
"background-color" : "rgb(253,219,199)"
}
}, {
"selector" : "node[EnrichmentMap_GS_Type = 'ENR']",
"css" : {
"background-color" : "rgb(240,240,240)"
}
}, {
"selector" : "node:selected",
"css" : {
"background-color" : "rgb(255,255,0)"
}
}, {
"selector" : "edge",
"css" : {
"line-style" : "solid",
"text-opacity" : 0.7843137254901961,
"content" : "",
"source-arrow-shape" : "none",
"line-color" : "rgb(64,64,64)",
"target-arrow-shape" : "none",
"source-arrow-color" : "rgb(0,0,0)",
"font-family" : "SansSerif.plain",
"font-weight" : "normal",
"target-arrow-color" : "rgb(0,0,0)",
"font-size" : 10,
"opacity" : 0.7843137254901961,
"color" : "rgb(0,0,0)",
"width" : 1.0
}
}, {
"selector" : "edge[interaction = 'sig']",
"css" : {
"line-style" : "dashed"
}
}, {
"selector" : "edge[interaction = 'compound']",
"css" : {
"line-style" : "solid"
}
}, {
"selector" : "edge[EnrichmentMap_Data_Set = 'Specificity with BAG3']",
"css" : {
"line-color" : "rgb(178,223,138)",
"target-arrow-color" : "rgb(178,223,138)",
"source-arrow-color" : "rgb(178,223,138)"
}
}, {
"selector" : "edge[EnrichmentMap_Data_Set = 'sig']",
"css" : {
"line-color" : "rgb(252,141,98)",
"target-arrow-color" : "rgb(252,141,98)",
"source-arrow-color" : "rgb(252,141,98)"
}
}, {
"selector" : "edge[EnrichmentMap_Data_Set = '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[EnrichmentMap_Data_Set = '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[EnrichmentMap_Data_Set = 'Specificity with BAG3']",
"css" : {
"line-color" : "rgb(178,223,138)"
}
}, {
"selector" : "edge[EnrichmentMap_Data_Set = 'sig']",
"css" : {
"line-color" : "rgb(252,141,98)"
}
}, {
"selector" : "edge[EnrichmentMap_Data_Set = 'Geneset_Overlap']",
"css" : {
"line-color" : "rgb(166,206,227)"
}
}, {
"selector" : "edge[EnrichmentMap_Data_Set = 'Abundance of Protein']",
"css" : {
"line-color" : "rgb(166,206,227)"
}
}, {
"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: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