Learn R Programming

stringgaussnet (version 1.1)

addSkeletonDefaults: Add default values for Cytoscape styles

Description

This function is called by addNetworkStyle() to add common default values for styles of all network classes in the stringaussnet package.

Usage

addSkeletonDefaults(defaults, Annotations)

Arguments

defaults
A list where will be added the default attributes
Annotations
A boolean variable indicating whether gene annotations were added to the network and then to account this in the node style

Value

  • The defaults list updated, containing added JSON-like lists (converted to JSON objects by the addNetworkStyle function).

Details

If annotations were added, then the node border is a little wider.

See Also

addSkeletonMappings, addNetworkStyle