Description Usage Arguments Value Examples
View source: R/threshold_precision.R
Threshold interactions at a given precision cutoff
1 | threshold_precision(interactions, threshold)
|
interactions |
the ranked list of interactions output by
|
threshold |
the minimum precision of the unweighted interaction network to return |
the subset of the original ranked list at the given precision
1 2 3 4 5 6 7 8 9 10 | data(scott)
data(scott_gaussians)
data(gold_standard)
# analyze only the first 100 profiles
subset <- scott[seq_len(500), ]
gauss <- scott_gaussians[names(scott_gaussians) %in% rownames(subset)]
ppi <- PrInCE(subset, gold_standard, gaussians = gauss, models = 1,
cv_folds = 3)
network <- threshold_precision(ppi, threshold = 0.5)
nrow(network)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.