select_kth_fold {selectKSigs} | R Documentation

## Output the training data or test data

### Description

Output the training data or test data

### Usage

    select_kth_fold(inputG, k, f_s, folds, include)

### Arguments

`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.

### Value

a MutationFeatureData S4 class of either include or exclude kth fold.

[Package selectKSigs version 1.6.0 Index]