View source: R/get_centrality_plot.R
get_centrality_plot | R Documentation |
a wrapper function of ggplot2::ggsave
get_centrality_plot(
centrality,
prefix = "",
path = ".",
device = "pdf",
width = 10,
height = 7,
get.table = TRUE,
...
)
centrality |
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 centrality. Default is TRUE. |
... |
other parameter from |
a centrality plot will be output to the specified path.
data('mtcars')
centrality <- Centrality(EBICglassoNet(mtcars))
get_centrality_plot(centrality, prefix = 'test')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.