Export network data with Cytoscape visualization
exportNetworkToHTML.RdConvenience function that takes nodes and edges data directly and creates both the configuration and HTML export in one step.
Usage
exportNetworkToHTML(
nodes,
edges,
filename = "network_visualization.html",
displayLabelType = "id",
nodeFontSize = 12,
...
)Arguments
- nodes
Data frame with at minimum an
idcolumn. Optional columns:logFC(numeric),hgncName(character),Site(character, underscore-separated PTM site list).- edges
Data frame with columns
source,target,interaction. Optional:site,evidenceLink.- filename
Output HTML filename
- displayLabelType
"id"(default) or"hgncName"– controls which column is used as the visible node label.- nodeFontSize
Font size (px) for node labels. Default
12.- ...
Additional arguments passed to exportCytoscapeToHTML()