select_kth_fold {selectKSigs} | R Documentation |
Output the training data or test data
select_kth_fold(inputG, k, f_s, folds, include)
inputG |
a MutationFeatureData S4 class output by the pmsignature. |
k |
an integer number of the number of cross-validation folds. |
f_s |
a primary key of combining the feature pattern and sample ID. |
folds |
the assignment to each fold. |
include |
a boolean indictor of whether to include kth fold or not. |
a MutationFeatureData S4 class of either include or exclude kth fold.