Learn R Programming

stringgaussnet (version 1.1)

addSkeletonMappings: Add default mappings for Cytoscape styles

Description

This function adds common node mappings during the call of addNetworkStyle() for all network classes of the stringgaussnet package.

Usage

addSkeletonMappings(mappings, Annotations, points.size.map, min.points.value,
	max.points.value, points.fill.map, min.points.fill, max.points.fill)

Arguments

mappings
A list where will be added the mapping attributes
Annotations
A boolean variable indicating whether gene annotations were added to the network and then to account this in the node style
points.size.map
Node attribute for which the node size mapping is done
min.points.value
Maximum value of node attribute for which the size is minimal
max.points.value
Minimum value of node attribute for which the size is maximal
points.fill.map
Node attribute for which the node color mapping is done
min.points.fill
Minimum value for which the color mapping is done
max.points.fill
Maximum value for which the color mapping is done

Value

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

Details

If annotations were added, then the node border color depends on the cellular localization of the gene product.

See Also

addSkeletonDefaults, addNetworkStyle