Dear all,
I get error with the createNetworkFromDataFrames function.
Error in curl::curl_fetch_memory(url, handle = handle) :
Unrecognized content encoding type. libcurl understands deflate, gzip content encodings.
When I try to use my own node en edge data frames (attached) to create a network I get this error. While using the example provided with the function description I don't.
I, and some others have checked that everything, like everything is a character etc., is similar between the example dataframes and my own dataframes. But still this error pops up.
I use cytoscape 3.7.0 and work in RStudio Version 1.1.463.
The code I have used:
> library(RCy3)
>
>
cytoscapePing()> cytoscapeVersionInfo()
>
>
nodes <- read.table(file.path(getwd(), "Network", "nodes.txt"), header = T, sep = "\t")> edges <- read.table(file.path(getwd(), "Network", "edges.txt"), header = T, sep = "\t")
>
> edges$target <- as.character(edges$target)
>
> createNetworkFromDataFrames(nodes, edges, title = "MyNetwork", collection = "MyCollection")
Hopefully someone can help me!
Best,
Laurent