exprs2adj {gsean} | R Documentation

## Convert gene expression data to adjacency matrix by using correlation coefficients

### Description

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

### Usage

    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

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

[Package gsean version 1.8.0 Index]