Closed twesleyb closed 5 years ago
Sorry for the delayed response! You found a bug in the valued returned by getLayoutPropertyNames
. I'll get to fixing that soon. But, fortunately, in the meantime, you can do what and just ignore the truncated list of property names!
In general, you can always go to the source for the documentation on Commands
based functions like this one. There are two ways to do this:
commandsAPI()
and you'll get the interactive Swagger version of the same docs.You'll see that edgeAttribute
is indeed available as a parameter that takes the name of an edge column with numeric values.
Dev Note: implementation depended on CyREST, which is source of bug: https://github.com/cytoscape/cyREST/issues/100
In the meantime, we can reimplement to use commandsHelp
instead.
Fixed in version 2.4.1
Thank you Alexander!
The
RCy3
package is excellent, thank you!I'd like to apply the perfuse force-directed layout with mapping to edge weight using RCy3. Is this possible?
I can apply the force-directed layout to my network with:
However, I can't figure out how to use my edge attribute
weight
in this layout. The cytoscape option 'Edge column that contains the weights:' is not listed withgetLayoutPropertyNames()
, so maybe this isn't possible?[1] "numIterations" "defaultSpringCoefficient" "defaultSpringLength"
[4] "defaultNodeMass" "isDeterministic" "singlePartition"
Hopefully, I have not missed an obvious answer in the documentation, my apologies if I have.