Description Usage Arguments Value
View source: R/score_interactions.R
Split a set of reference protein-protein interactions into cross-validation folds, for use in score_interactions.
1 | get_splits(gold_standard, n_folds = 10, split_by = c("proteins", "pairs"))
|
gold_standard |
a data frame with columns |
n_folds |
the number of folds of cross-validation to perform |
split_by |
the mechanism by which to split the gold standard into
cross-validation folds; either by protein complex subunits
( |
a list of length n_folds
, in which each item contains
"train"
and "test"
data frames with the columns
protein_A
, protein_B
, and label
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.