check_corr {decoupleR} | 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") network <- readRDS(file.path(inputs_dir, "input-dorothea_genesets.rds")) check_corr(network, .source='tf')