tmuetze / Bioconductor_RCy3_the_new_RCytoscape

Update RCytoscape to work for Cytoscape 3.0 and higher using CyREST
16 stars 10 forks source link

cyPlot missing the integer to numeric type conversion for edges #32

Open Vessy opened 8 years ago

Vessy commented 8 years ago

I've noticed that the updated version of CyPlot (here, not on the Bioconductor) is still missing conversion between integer and numeric types for edge attributes (as it does for nodes).

if (any(grep("integer", edge.class))) { edge.df[, grep("integer", edge.class)] <- sapply(edge.df[, grep("integer", edge.class)], as.numeric) }