Checks the correlation across the regulators in a network.
Usage
check_corr(
network,
.source = "source",
.target = "target",
.mor = "mor",
.likelihood = NULL
)
Examples
inputs_dir <- system.file("testdata", "inputs", package = "decoupleR")
net <- readRDS(file.path(inputs_dir, "net.rds"))
check_corr(net, .source='source')
#> # A tibble: 3 × 3
#> source source.2 correlation
#> <chr> <chr> <dbl>
#> 1 T1 T3 0.364
#> 2 T2 T3 -0.487
#> 3 T1 T2 -0.688