stat_plot_subgroups: Plot averaged signature exposures per subgroup

Description Usage Arguments Value See Also Examples

View source: R/plot_functions.R

Description

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

Usage

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
)

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

1

slw287r/yapsa documentation built on June 7, 2020, 12:46 a.m.