Create a joined network to visualize overlapping connections with the same outer joined node set.
create_joined_networks.Rd
Create a joined network to visualize overlapping connections with the same outer joined node set.
Arguments
- e
experiment object
- correlation_list_names
(str vec) character vector of the two correlation lists used to include in a joined network
- channels
(str, default = c("cfos", "eyfp", "colabel")) The channels to process.
- ontology
(str, default = "allen") Region ontology to use. options = "allen" or "unified"
- alpha
(float, default = 0.05) The significance threshold for including brain regions in the network. if NULL or NA, this threshold is not applied.
- pearson_thresh
(float, default = 0.8) The pearson correlation coefficient threshold to apply for filtering out
- anatomical.order
(vec, c("Isocortex","OLF","HPF","CTXsp","CNU","TH","HY","MB","HB","CB")) The default super region acronym list that groups all subregions in the dataset.
- export_overlapping_edges
(bool, default = TRUE) Whether to export the overlapping edges between the two networks as a csv into the
table
directory.
Value
e experiment object. This object now has a new added element called networks.
This is a list storing a
graph object per channel for each network analysis run. The name of each network (network_name
) is the same as the correlation_list_name
used to generate the network. This network_name
is fed as a parameter into the
plot_network()
function.