This function preprocesses Phosphoproteomic data so that it may be used for training a SnapKin model.

preprocessSnapKin(train, train_ids = NULL, test = NULL, test_ids = NULL)

Arguments

train_ids

(Optional) Vector of characters to label the train set.

test_ids

(Optional) Vector of characters to label the test set.

training_set

PhosphoExperiment Object containing training set. Assays must contain a 'y' column representing labels.

test_set

PhosphoExperiment Object containing test set. If NULL, the training_set is used.

Value

A list of dataframes. training stores the processed training data. test stores the processed test data.