stat_plot_subgroups {YAPSA} | R Documentation |
Plot one averaged signature exposure pattern per subgroup. Uses
split_exposures_by_subgroups
.
stat_plot_subgroups( in_exposures_df, in_subgroups_df, in_signatures_ind_df, in_subgroups.field = "subgroup", in_PID.field = "PID", in_colour_vector = NULL )
in_exposures_df |
Numerical data frame of the exposures (i.e. contributions of the different signatures to the number of point mutations per PID) |
in_subgroups_df |
Data frame indicating which PID belongs to which subgroup |
in_signatures_ind_df |
Data frame carrying additional information on the signatures |
in_subgroups.field |
Name indicating which column in
|
in_PID.field |
Name indicating which column in |
in_colour_vector |
If non-null, specifies the colours attributed to the subgroups |
The function doesn't return any value, it plots instead.
NULL