run_corr: Wrapper for correlation co-expression

Description Usage Arguments Value

View source: R/run_corr.R

Description

Conducts co-expression analysis using correlation for association measure.

Usage

1
run_corr(x, threshold = NULL, method = "pearson", ...)

Arguments

x

The n by p matrix of counts.

threshold

Cutoff for significant associations. If NULL, all correlations are returned. Otherwise, correlations of magnitude at or below this threshold are set to zero.

method

The method used to compute correlations. Should be either "pearson" or "spearman". The default is Spearman, which provides the more conservative estimation of associations.

Value

A p by p matrix of association scores.


tgrimes/dnapath2 documentation built on May 21, 2020, 5:53 p.m.