addGeneExpressionCorrelations: add a tf/targetGene correlations score for those TFs also in...

addGeneExpressionCorrelations,TrenaMultiScore-methodR Documentation

add a tf/targetGene correlations score for those TFs also in the expression matrix

Description

add a tf/targetGene correlations score for those TFs also in the expression matrix

Usage

## S4 method for signature 'TrenaMultiScore'
addGeneExpressionCorrelations(
  obj,
  mtx,
  featureName = "cor",
  colnames = list(),
  method = "pearson"
)

Arguments

obj

a TrenaMultiScore object

mtx

a numerical matrix, genes are rownames, samples are colnames

featureName

a character string, default "cor", data.frame column where results are stored

colnames

list of character strings, limits scope of correlation calcuation. default empty list: use all columns

method

a character string, either "spearman" or "pearson"

Value

None


PriceLab/TrenaMultiScore documentation built on Aug. 22, 2022, 8:01 a.m.