graph.plot: Graph Plotting

Description Usage Arguments Examples

View source: R/tools.R

Description

This function allows you to plot a graph.

Usage

1
2
3
4
5
6
7
graph.plot(
  x,
  from = c("auto", "adjacency", "edges", "graph", "igraph", "bnlearn"),
  layout = c("circle", "star", "grid", "sphere", "nicely"),
  interactive = FALSE,
  isolated.genes = FALSE
)

Arguments

x

Graph object.

from

Input format (optional).

layout

igraph plot layout (optional): 'grid', 'star', 'circle', 'sphere', or 'nicely'. Default: 'circle'

interactive

Interactive plot (optional). Default: FALSE

isolated.genes

Whether or not to include isolated nodes in the plot (optional). Default: FALSE

Examples

1
2
3
graph.plot(obj)
graph.plot(obj, isolated.genes=TRUE)
graph.plot(obj, interactive=TRUE)

rlebron-bioinfo/gnlearn documentation built on July 25, 2020, 12:38 p.m.