applyLayout: Apply a layout to the current network

Description Usage Arguments Value Examples

View source: R/applyLayout.R

Description

Apply a layout to the current network

Usage

1
applyLayout(layout, base.url = "http://localhost:1234/v1")

Arguments

layout

(char) name of the layut, run commandHelp('layout') to see available list of layouts. Feel free to include parameters along with the layout name, space delimited. See example.

base.url

cyrest base url for communicating with cytoscape

Value

server response

Examples

1
applyLayout('force-directed defaultSpringCoefficient=.000004 defaultSpringLength=100')

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