exportImage: Exports the current network view as an image

Description Usage Arguments Details Value Examples

View source: R/exportImage.R

Description

Exports the current network view as an image

Usage

1
exportImage(filename, type, base.url = "http://localhost:1234/v1")

Arguments

filename

(char) name of the image file to save

type

(char) type of image to export, e.g., JPEG, PDF, PNG, PostScript, SVG (case sensitive)

base.url

cyrest base url for communicating with cytoscape

Details

The image is cropped per the current view in Cytoscape.

Value

server response

Examples

1
exportImage('myNetwork','PDF')

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