View source: R/decoupleR-consensus.R
run_consensus | R Documentation |
Function to generate a consensus score between methods from the
result of the decouple
function.
run_consensus(df, include_time = FALSE, seed = NULL)
df |
|
include_time |
Should the time per statistic evaluated be informed? |
seed |
Deprecated parameter. |
Updated tibble with the computed consensus score between methods
inputs_dir <- system.file("testdata", "inputs", package = "decoupleR")
mat <- readRDS(file.path(inputs_dir, "mat.rds"))
net <- readRDS(file.path(inputs_dir, "net.rds"))
results <- decouple(
mat = mat,
network = net,
.source = "source",
.target = "target",
statistics = c("wmean", "ulm"),
args = list(
wmean = list(.mor = "mor", .likelihood = "likelihood"),
ulm = list(.mor = "mor", .likelihood = "likelihood")
),
consensus_score = FALSE,
minsize = 0
)
run_consensus(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.