Description Usage Arguments Value See Also Examples
View source: R/plot_functions.R
Plot one averaged signature exposure pattern per subgroup. Uses
split_exposures_by_subgroups.
| 1 2 3 4 5 6 7 8 | 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.
| 1 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.