PlotPathway
PlotPathway.RdPlot the activation status of a pathway across cell populations. Creates a density plot of pathway activation (z-scored) for each group.
Arguments
- to.plot
A dataframe returned by PreparePlotData, containing at least:
- scale
Z-scored pathway activation values.
- group
Grouping variable for coloring (e.g., genotype).
- pathway
Character string indicating the pathway name (used in plot title).
- group
Column name in
to.plotto group and color the plot by (e.g., "genotype").- color
Character vector of colors for each group (fill and outline). Length must match number of unique groups.