From: Shana White <vandersm@mail.uc.edu>
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/KEGGlincs@130301 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -89,7 +89,17 @@ cyto_vis <- |
89 | 89 |
mappings = mappings[[2]]) |
90 | 90 |
style.JSON <- RJSONIO::toJSON(style) |
91 | 91 |
httr::POST(url=style.url, body=style.JSON, encode = "json") |
92 |
+ |
|
93 |
+ dependencies.url <- paste(style.url, style.name, "dependencies", sep="/") |
|
94 |
+ lock_style <- list(visualPropertyDependency="nodeSizeLocked", |
|
95 |
+ enabled = "false") |
|
96 |
+ lock_style.JSON <- toJSON(list(lock_style)) |
|
97 |
+ PUT(url=dependencies.url, body=lock_style.JSON, encode="json") |
|
98 |
+ |
|
92 | 99 |
apply.style.url = paste(base.url, "apply/styles", style.name , |
93 | 100 |
toString(network.suid), sep="/") |
94 | 101 |
httr::GET(apply.style.url) |
102 |
+ |
|
103 |
+ fit_content.url <- paste(base.url, "apply/fit", network.suid, sep="/") |
|
104 |
+ httr::GET(url=fit_content.url) |
|
95 | 105 |
} |