View source: R/decoupleR-pre.R
check_corr | R Documentation |
Checks the correlation across the regulators in a network.
check_corr(
network,
.source = "source",
.target = "target",
.mor = "mor",
.likelihood = NULL
)
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. |
Correlation pairs tibble.
inputs_dir <- system.file("testdata", "inputs", package = "decoupleR")
net <- readRDS(file.path(inputs_dir, "net.rds"))
check_corr(net, .source='source')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.