select_kth_fold: Output the training data or test data

Description Usage Arguments Value

View source: R/select_kth_fold.R

Description

Output the training data or test data

Usage

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


selectKSigs documentation built on Nov. 8, 2020, 5:38 p.m.