get_DeepCC_label: Get DeepCC Labels

Description Usage Arguments Value Examples

View source: R/DeepLearning.R

Description

This function classifys new data set using trained DeepCC model.

Usage

1
2
3
4
5
6
7
get_DeepCC_label(
  DeepCCModel,
  newData,
  cutoff = 0.5,
  prob_mode = F,
  prob_raw = F
)

Arguments

DeepCCModel

a trained DeepCC model

newData

a data.frame containing functional spectra of new data (each presnets one sample)

cutoff

a numeric indicating cutoff of poster probability

Value

a character vector containing lables of training data

Examples

1
get_DeepCC_label(deepcc_model, newdata_fs)

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