threshold_precision {PrInCE} | R Documentation |
Threshold interactions at a given precision cutoff
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
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)