stat_plot_subgroups {YAPSA} | R Documentation

## Plot averaged signature exposures per subgroup

### Description

Plot one averaged signature exposure pattern per subgroup. Uses `split_exposures_by_subgroups`.

### Usage

    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
    )

### Arguments

`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_subgroups_df` contains the subgroup information
`in_PID.field` | Name indicating which column in `in_subgroups_df` contains the PID information
`in_colour_vector` | If non-null, specifies the colours attributed to the subgroups

### Value

The function doesn't return any value, it plots instead.

### See Also

`split_exposures_by_subgroups`

### Examples

     NULL

[Package YAPSA version 1.20.1 Index]