addSkeletonMappings: Add default mappings for Cytoscape styles

Description Usage Arguments Details Value See Also

View source: R/addSkeletonMappings.R

Description

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

Usage

1
2
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

Details

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

Value

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

See Also

addSkeletonDefaults, addNetworkStyle


stringgaussnet documentation built on May 29, 2017, 10:50 a.m.