setNetworkCenterBypass: Set Network Center Bypass

Description Usage Arguments Details Value See Also Examples

View source: R/StyleBypasses.R

Description

Set the bypass value for center x and y for the network. This function could be used to pan and scroll the Cytoscape canvas.

Usage

1
2
3
4
5
6
7
setNetworkCenterBypass(
  x,
  y,
  bypass = FALSE,
  network = NULL,
  base.url = .defaultBaseUrl
)

Arguments

x

Coordinate value, increases going to the right.

y

Coordinate value, increase going down.

bypass

Whether to set permanent bypass value. Default is FALSE per common use of temporary center settings.

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.

Details

This method permanently overrides any default values for this visual property. This method ultimately calls the generic function, setNetworkPropertyBypass, which can be used to set any visual property. To restore defaults, use clearNetworkPropertyBypass.

Value

None

See Also

setNetworkPropertyBypass, clearNetworkPropertyBypass

Examples

1

RCy3 documentation built on Nov. 21, 2020, 2 a.m.