loadTableData: Loads data into Cytoscape tables keyed by row

Description Usage Arguments Details Value

View source: R/loadTableData.R

Description

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.

Usage

1
2
3
loadTableData(data, data.key.column = "row.names", table = "node",
  table.key.column = "name", network = "current",
  base.url = "http://localhost:1234/v1")

Arguments

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"

network

name or suid of the network; default is "current" network

base.url

cyrest base url for communicating with cytoscape

Details

Numeric (or integer) values will be stored as Doubles in Cytoscape tables. Character or mixed values will be stored as Strings. Logical values will be stored as Boolean. Existing columns with the same names will be overwritten.

Value

server response


cytoscape/r2cytoscape documentation built on May 4, 2019, 6:36 p.m.