Takes a list of connectomes and will compare sending- and receiving- centrality, side-by-side, for the given networks, or requested network subsets.

CompareCentrality(
  connectome.list,
  weight.attribute = "weight_norm",
  min.z = NULL,
  cols.use = NULL,
  normalize = T,
  ...
)

Arguments

connectome.list

A named list of connectomic edgelists. The output plot will be split by the names of the list.

weight.attribute

Column to use to define edgeweights for network analysis. 'weight_sc' or 'weight_norm'. Defaults to 'weight_norm'

min.z

Minimum z-score for ligand and receptor.

cols.use

Desired colors for cell types, alphabetized. Defaults to standard ggplot colors.

normalize

Default TRUE. Scales each mode to have equivalent x-axes.

...

Arguments passed to FilterConnectome. Will be applied to each connectome within the list.