stat_test_subgroups: Test for differences in average signature exposures between...

Description Usage Arguments Value See Also Examples

View source: R/SMC.R

Description

Apply Kruskal-Wallis tests to detect differences in the signature exposures between different subgroups. Uses split_exposures_by_subgroups. Algorithm analogous to stat_test_SMC.

Usage

1
2
3
4
5
6
stat_test_subgroups(
  in_exposures_df,
  in_subgroups_df,
  in_subgroups.field = "subgroup",
  in_PID.field = "PID"
)

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_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

Value

A list with entries kruskal_df, kruskal_posthoc_list,

See Also

split_exposures_by_subgroups

stat_test_SMC

posthoc.kruskal.nemenyi.test

kruskal.test

Examples

1

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