check_corr {decoupleR} | R Documentation

## Check correlation (colinearity)

### Description

Checks the correlation across the regulators in a network.

### Usage

    check_corr(
      network,
      .source = "source",
      .target = "target",
      .mor = "mor",
      .likelihood = NULL
    )

### Arguments

`network` | Tibble or dataframe with edges and it's associated metadata.
`.source` | Column with source nodes.
`.target` | Column with target nodes.
`.mor` | Column with edge mode of regulation (i.e. mor).
`.likelihood` | Deprecated argument. Now it will always be set to 1.

### Value

Correlation pairs tibble.

### Examples

    inputs_dir <- system.file("testdata", "inputs", package = "decoupleR")
    network <- readRDS(file.path(inputs_dir, "input-dorothea_genesets.rds"))
    check_corr(network, .source='tf')

[Package decoupleR version 2.0.1 Index]