degCorCov: Calculate the correlation relationshipt among all covariates...

Description Usage Arguments Value Author(s) Examples

Description

This function will calculate the correlation among all columns in the metadata

Usage

1
degCorCov(metadata, fdr = 0.05, ...)

Arguments

metadata

data.frame with samples metadata.

fdr

numeric value to use as cutoff to determine the minimum fdr to consider significant correlations between pcs and covariates.

...

Parameters to pass to ComplexHeatmap::Heatmap().

Value

: list: a) cor, data.frame with pair-wise correlations, pvalues, FDR b) corMat, data.frame with correlation matrix c) fdrMat, data.frame with FDR matrix b) plot, Heatmap plot of correlation matrix

Author(s)

: Lorena Pantano, Kenneth Daily and Thanneer Malai Perumal

Examples

1
2
3
4
5
6
data(humanGender)
library(DESeq2)
idx <- c(1:10, 75:85)
dse <- DESeqDataSetFromMatrix(assays(humanGender)[[1]][1:1000, idx],
  colData(humanGender)[idx,], design=~group)
cor <- degCorCov(colData(dse))

DEGreport documentation built on Nov. 8, 2020, 7:23 p.m.