calculateSampleCorrs: Calculate Spearman correlation between sample pairs

View source: R/calculateCorrelations.R

calculateSampleCorrsR Documentation

Calculate Spearman correlation between sample pairs

Description

Calculate Spearman correlation between sample pairs

Usage

calculateSampleCorrs(ddsList, maxNForCorr)

Arguments

ddsList

List of lists, with one element per data set. Each element is a list containing a DGEList and a DESeqDataSet, with calculated dispersions (e.g., output from calculateDispersionsddsList).

maxNForCorr

Maximal number of samples to use for correlation calculation. If the number of samples in a data set exceeds maxNForCorr, maxNForCorr samples will be randomly selected for calculation of correlations.

Value

A data frame with pairwise sample correlations for each data set

Author(s)

Charlotte Soneson


csoneson/countsimQC documentation built on Oct. 29, 2023, 2:14 p.m.