splitG {selectKSigs} | R Documentation |
Output the maximum potential scale reduction statistic of all parameters estimated
splitG(inputG, Kfold = 3)
inputG |
a MutationFeatureData S4 class output by the pmsignature. |
Kfold |
an integer number of the number of cross-validation folds. |
a matrix made of perplexity from the results of cross-validation.
load(system.file("extdata/sample.rdata", package = "selectKSigs")) G_split <- splitG(G, Kfold = 3)