| sn_save_ggplot | R Documentation |
Save network as a ggplot2 object to file using ggsave.
sn_save_ggplot(
network,
filename,
width = 7,
height = 7,
dpi = 300,
title = NULL,
...
)
network |
A cograph_network object. |
filename |
Output filename. Format is detected from the extension by
|
width |
Width in inches (default 7). |
height |
Height in inches (default 7). |
dpi |
Resolution for raster formats (default 300). |
title |
Optional plot title. |
... |
Additional arguments passed to ggsave. |
The output filename, invisibly.
sn_save_ggplot(cograph(regulation_net),
filename = file.path(tempdir(), "network.pdf"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.