export.graph: Export A Graph To A File

Description Usage Arguments Examples

View source: R/datasets.R

Description

This function allows you to graph a geneset to a file.

Usage

1
2
3
4
5
6
7
8
9
export.graph(
  g,
  path,
  sep = "\t",
  header = TRUE,
  index = TRUE,
  from = c("auto", "adjacency", "edges", "graph", "igraph", "bnlearn"),
  to = c("adjacency", "edges")
)

Arguments

g

Graph to export.

path

Output file path.

sep

Separator / delimiter character (optional). Default: TAB

header

Whether or not to include a header (optional). Default: TRUE

index

Whether or not to include an index column (optional). Default: TRUE

from

Output format (optional): 'adjacency' or 'edges'. Default: 'adjacency'

Examples

1
export.graph(g, 'mygraph.tsv')

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