polar_graph | R Documentation |
This function plots the polar graph of a bipartite network and the histograms of kshell kradius and kdegree
polar_graph(
datadir,
filename,
plotsdir = "plot_results/polar/",
print_to_file = FALSE,
pshowtext = FALSE,
show_histograms = TRUE,
glabels = c("Plant", "Pollinator"),
gshortened = c("pl", "pol"),
lsize_title = 22,
lsize_axis = 16,
lsize_legend = 16,
lsize_axis_title = 16,
lsize_legend_title = 16,
file_name_append = "",
print_title = TRUE,
printable_labels = 0,
fill_nodes = TRUE,
alpha_nodes = 0.5,
max_kradius = 0,
progress = NULL
)
datadir |
the directory where the |
filename |
the name of the file of the interaction matrix |
plotsdir |
the directory where the plot is stored |
print_to_file |
if set to FALSE the plot is displayed in the R session window |
pshowtext |
auxiliar for interactive apps, do not modify |
show_histograms |
display the histograms if set TRUE |
glabels |
guild labels |
gshortened |
guild shortened labels |
lsize_title |
title label size |
lsize_axis |
axis label size |
lsize_legend |
legend label size |
lsize_axis_title |
axis title size |
lsize_legend_title |
legend label size |
file_name_append |
a label that the user may append to the plot file name for convenience |
print_title |
show title and network parameters |
printable_labels |
range of labeled species |
fill_nodes |
if set to FALSE nodes are transparent |
alpha_nodes |
fill transparency level |
max_kradius |
if bigger than 0 sets an upper limit different of the default. Useful for comparisons |
progress |
auxiliar for interactive apps, do not modify |
polar_graph("data/","M_PL_007.csv",plotsdir="grafresults/",print_to_file = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.