Plot trio of associations between ligand expression, module eigengenes, and factor scores
plot_mod_and_lig(container, factor_select, mod_ct, mod, lig_ct, lig)
A cowplot figure of ggplot objects for the three associations scatter plots.
environment Project container that stores sub-containers for each cell type as well as results and plots from all analyses
numeric The factor to use
character The name of the cell type for the corresponding module
numeric The number of the corresponding module
character The name of the cell type where the ligand is expressed
character The name of the ligand to use