Skip to contents

This function computes the correlation between summary scores.

It is a wrapper around corr.test function.

Usage

computeSigScoresCorrelation(
  data,
  adjust = "BH",
  method = c("pearson", "spearman", "kendall"),
  ...
)

Arguments

data

data frame, output of computeSigScores

adjust

What adjustment for multiple tests should be used? ("holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none"). See p.adjust for details about why to use "holm" rather than "bonferroni").

method

method="pearson" is the default value. The alternatives to be passed to cor are "spearman" and "kendall". These last two are much slower, particularly for big data sets.

...

further arguments to internal function call

See also

Author

Alessandro Barberis