write_popgraph: Convience function for file exports

Description Usage Arguments Value Author(s)

Description

This function is a chokepoint for exporting popgraph objects to other formats.

Usage

1
write_popgraph(graph, file, format = "pgraph", ...)

Arguments

graph

An object of type popgraph.

file

The path to save the graph into.

format

The type of output file to use. Options are:

  • json Save as JSON format

  • kml Save to KML format to view in GoogleEarth

  • graphml Save as Graph Markup Language

  • html Save to an interactive html format viewable in your browser

  • pajek Save as input to Pajek

  • pgraph Save as input for GeneticStudio (default)

  • adjacency Saves as an adjacency matrix in csv format

  • paths Saves as shortest paths matrix in csv format

  • weights Saves as weighted adjacency matrix in csv format

...

Ignored

Value

Nothing

Author(s)

Rodney J. Dyer <rjdyer@vcu.edu>


popgraph documentation built on April 14, 2017, 9:58 p.m.