Skip to contents

Using available data and the gold standard, assemble training set for the model training.

Usage

X.assemble.traindata(data = NULL, standard = NULL)

Arguments

data

Data frame with columns 'protein1', 'protein2' and other predictor columns.

standard

Data frame with columns 'protein1', 'protein2' and 'complex'. The column complex should have values of 1 or 0 for interacting and non-interacting proteins, respectively.

Value

A data frame with complex labels from standard assigned to observed data.

Examples

GS_specific <- X.assemble.traindata(all.predictors[[tp]][[rep]],GS)
#> Error: object 'all.predictors' not found