This function will create a stacked barplot from the output of Compare_VertexClasses_sharedEdgeFeatures using all shared Edge Features (e.g., genes) between two treatments.
CompTreatTable: Output of Compare_VertexClasses_sharedEdgeFeatures
treat: Name of treatment to display. It should match the column name in the output of Compare_VertexClasses_sharedEdgeFeatures
xlb: Name for x-axis
ylb: Name for y-axis
max_pairsLegend: If number of Edge Features >= max_pairsLegend, display number of Edge Features as label with ggrepel
mx.overlaps: Max number of overlaps ggrepel
szggrepel: Size ggrepel labels
force: Repelling force for ggrepel labels
szTitle: Size Title
szaxisTxt: Size axis text
szaxisTitle: Size axis titles
ylim: Optional y-limits of the plot
Returns
A ggplot object to create a stacked barplot. The stacked barplot shows the vertex-class pairs profile of all shared edge features but restricted to a single treatment. Every bar consists of multiple edge features (stacked) that are represented with different colors