R: Plot an Aster graph object comprised of the vertice and edge...
showGraph
R Documentation
Plot an Aster graph object comprised of the vertice and edge tables.
Description
Function for obtaining and plotting graph (network) objects using ggplot2 and ggnet2 functions.
Usage
showGraph(channel, graph, v = NULL, vertexWhere = graph$vertexWhere,
edgeWhere = graph$edgeWhere, ..., allTables = NULL, test = FALSE)
Arguments
channel
connection object as returned by odbcConnect
graph
an object of class 'toagraph' referencing graph
tables in Aster database.
v
a SQL SELECT that returns key values or a list of key values (corresponding
to the vertex.names attribute) of the vertices to include in the graph.
When not NULL this guarentees that no other vertices or edges between other vertices
are included in the resulting network.
vertexWhere
optionally, a SQL WHERE clause to subset vertex table. When not NULL
it overrides vertexWhere condition from the graph.
edgeWhere
optionally, a SQL WHERE clause to subset edge table. When not NULL
it overrides edgeWhere condition from the graph.
...
Other arguments passed on to ggnet2 visualization function.
allTables
pre-built information about existing tables.
test
logical: if TRUE show what would be done, only (similar to parameter test in RODBC
functions: sqlQuery and sqlSave).