View source: R/get_bridge_plot.R
get_bridge_plot | R Documentation |
a wrapper function of ggplot2::ggsave
get_bridge_plot(
bridge,
prefix = "",
path = ".",
device = "pdf",
width = 10,
height = 7,
get.table = TRUE,
...
)
bridge |
output from |
prefix |
the prefix of output plot files. |
path |
the path of output files, can be either a relative or absolute path. |
device |
any format supported by |
width |
the width of plot, in inch. |
height |
the height of plot, in inch. |
get.table |
logical. whether get the csv file of bridge coefficient. Default is TRUE. |
... |
other parameter from |
a Bridge plot will be output to the specified path.
data('mtcars')
Bridge <- Bridge(quickNet(mtcars), communities = c(rep(1,5),rep(2,6)))
get_bridge_plot(Bridge, prefix = 'test')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.