Plot the betweenness distributions across regions
plot_betweenness_regions.Rd
Bar plot of betweenness per region in descending magnitude
Usage
plot_betweenness_regions(
e,
channels = c("cfos", "eyfp"),
colors = c("red", "green"),
network = "AD",
title = "",
height = 10,
width = 20,
ylim = c(0, 15),
filter_isolates = TRUE,
sort_super_region = FALSE,
region_label_angle = 60,
label_text_size = 12,
image_ext = ".png",
print_plot = TRUE,
save_plot = TRUE,
theme.bar = NULL
)
Arguments
- e
experiment object
- channels
(str, default = c("cfos", "eyfp", "colabel")) Channels to plot
- colors
(str, default = ) String vector of hexadecimal color codes corresponding to to each channel plotted.
- network
(str, default = "AD") Which network to plot the betweenness distribution across regions
- title
(str, default = "")
- height
(int, default = 15) Height of the plot in inches.
- width
(int, default = 20) Width of the plot in inches.
- ylim
(vec, default = c(0,15))axes limits of y-axis
- filter_isolates
(default = TRUE) Avoid plotting isolated nodes (zero value)
- sort_super_region
(bool, default = FALSE) Whether to divide into subfacets based on which parent region
- region_label_angle
(int, default = 60) Angle of region labels.
- label_text_size
(int, default = 12) Font size of region labels.
- image_ext
(default = ".png") image extension to the plot as.
- print_plot
(bool, default = TRUE) Whether to print the plot as an output.s
- save_plot
(bool, default = TRUE) Save into the figures subdirectory of the the experiment object output folder.
- theme.bar
User option to use their own ggplot theme the experiment object output folder.