Description Usage Arguments Details Value
This function loads data into Cytoscape node/edge/network tables provided a common key, e.g., name. Data.frame column names will be used to set Cytoscape table column names.
1 2 3 4 5 6 7 8 9 | loadTableData(
data,
data.key.column = "row.names",
table = "node",
table.key.column = "name",
namespace = "default",
network = NULL,
base.url = .defaultBaseUrl
)
|
data |
(data.frame) each row is a node and columns contain node attributes |
data.key.column |
(char) name of data.frame column to use as key; default is "row.names" |
table |
(char) name of Cytoscape table to load data into, e.g., node, edge or network; default is "node" |
table.key.column |
(char) name of Cytoscape table column to use as key; default is "name" |
namespace |
namespace of table, e.g., default |
network |
(optional) Name or SUID of the network. Default is the "current" network active in Cytoscape. |
base.url |
(optional) Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://localhost:1234 and the latest version of the CyREST API supported by this version of RCy3. |
Numeric values will be stored as Doubles in Cytoscape tables. Integer values will be stored as Integers. Character or mixed values will be stored as Strings. Logical values will be stored as Boolean. Lists are stored as Lists by CyREST v3.9+. Existing columns with the same names will keep original type but values will be overwritten.
server response
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.