Plot_graphs: Plot_graphs

View source: R/Met2Graph.R

Plot_graphsR Documentation

Plot_graphs

Description

This function plots graphs to pdf.

Usage

Plot_graphs(inDir, outDir, format, ...)

Arguments

inDir

path to the input directory.

outDir

path to the output directory.

format

Character string indicating the format of the graph to read. Default "ncol". For other formats and details please see read.graph function of igraph package.

...

Additional plotting parameters. See igraph.plotting for the complete list.

Value

A pdf file.

Examples

## Not run: 
inDir <- system.file("extdata/output/MetGraphs/", package = "Met2Graph")
outDir <- system.file("extdata/output/", package = "Met2Graph")
Plot_graphs(inDir=inDir, outDir=outDir, format="ncol", vertex.size= 1,edge.arrow.size=0.1,vertex.label=NA, layout=layout_with_graphopt)
## End(Not run)

cds-group/Met2Graph documentation built on July 5, 2022, 2:15 p.m.