getCorrInGeneSet: Evaluate correlation of genes within each gene set

Description Usage Arguments Value

Description

Contruct correlation matrix C, and return mu_cor = mean(C) and mu_abs_cor = mean(abs(C)), using only the off-diagonal values in C

Usage

1
getCorrInGeneSet(vobj, geneSets, df_peakGeneMap, r.squared = TRUE)

Arguments

vobj

normalized expression produced by voom()

geneSets

list of genesets

df_peakGeneMap

distances from each peak to genes from getPeakGeneDistances()

r.squared

use r^2, default is FALSE

Value

data.frame of mu_cor and mu_abs_cor for each geneset


GabrielHoffman/pinnacle documentation built on May 3, 2019, 3:02 p.m.