cross_validation: Cross Validation of DeepCC Model

Description Usage Arguments Value Examples

View source: R/utils.R

Description

This function performs cross validation of DeepCC Mode on the training data.

Usage

1
cross_validation(fs, labels, fold = 5)

Arguments

fs

a data.frame containing functional spectra of patients (each row presents one sample)

labels

a character vector containing training lables

fold

a integer indicating the fold number of cross validation (default: 5)

Value

a numeric indicating error rate in a single run

Examples

1
cross_validation(tcga_fs, tcga_labels)

CityUHK-CompBio/DeepCC documentation built on Dec. 24, 2021, 7:48 a.m.