exprs2adj: Convert gene expression data to adjacency matrix by using...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/exprs2adj.R

Description

A biological network is constructed from gene expression data and it is used for Gene Set Enrichment Analysis.

Usage

1
exprs2adj(x, pseudo = 1, ...)

Arguments

x

gene expression data

pseudo

pseudo number for log2 transformation (default: 1)

...

additional parameters for correlation; see WGCNA::cor

Value

adjacency matrix

Author(s)

Dongmin Jung

See Also

fgsea::fgsea, WGCNA::cor

Examples

1
2
3
4
data(exampleRanks)
Names <- names(exampleRanks)
exprs <- matrix(rnorm(10*length(exampleRanks)), ncol = 10)
adjacency <- exprs2adj(exprs)

gsean documentation built on Nov. 8, 2020, 6:36 p.m.