Learn R Programming

cyjShiny (version 1.0.42)

addGraphFromDataFrame: Add graph from data.frame

Description

Add graph from data.frame

Usage

addGraphFromDataFrame(session, tbl.edges, tbl.nodes = NULL)

Value

Nothing

Arguments

session

a Shiny Server session object.

tbl.edges

a data.frame with source, traget, interaction columns (and option other attributes)

tbl.nodes

(optional; nodes can be deduced from tbl.edges) a data.frame with nodes and their attributes

Examples

Run this code
if (FALSE) {
addGraphFromDataFrame(session)
}

Run the code above in your browser using DataLab