graph.plot: A wrapper for plotting graphs

Description Usage Arguments Value

Description

A wrapper for plotting graphs in the igraph format that incorporates the functions to delete edges and vertices

Usage

1
2
3
graph.plot(g, edge.weight = NULL, min.edge = NULL, max.edge = NULL,
  delete.vertices = NULL, select.vertices = NULL, min.degree = NULL,
  use.tkplot = FALSE, ego = NULL, return.graph = FALSE)

Arguments

g

A graph object in the igraph format

min.edge.value

Numerical scalar. Edges with a lower weight will be deleted

max.edge.value

Like min.edge.value, but for the max value

delete.vertices

Either a logical vector (TRUE/FALSE) with TRUE meaning that a vertex will be deleted, or indices for vertices that will be deleted

select.vertices

Same as delete.vertices, but inversed

min.degree

Numerical scalar, indicating the minimum number of edges a vertex needs to have in order to be included in the graph. Set to 1 to ignore unconnected vertices

use.tkplot

Logical. If TRUE, tkplot is used instead of plot, which allows some interactive editing of the network

return.graph

Logical. If TRUE, the function will return the (filtered) graph object

Value

if return.graph is TRUE, A graph object in the igraph format


kasperwelbers/network-tools documentation built on May 20, 2019, 7:38 a.m.