scaleLayout: Scale Layout

scaleLayoutR Documentation

Scale Layout

Description

Scale the layout in either the X, Y, or both directions.

Usage

scaleLayout(
  axis,
  scaleFactor,
  selected.only = FALSE,
  network = NULL,
  base.url = .defaultBaseUrl
)

Arguments

axis

The axis to scale. Options: "X Axis", "Y Axis", "Both Axes".

scaleFactor

The axis The scale factor to apply to the network.

selected.only

(Boolean) Whether to rotate only current selection. Default is false.

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.

Value

None

Author(s)

Yihang Xin

Examples


scaleLayout('X Axis', 2, 'current', selected.only=FALSE)


cytoscape/RCy3 documentation built on April 7, 2024, 2:17 p.m.