cn_eval: determine performance of classification at given threshold

View source: R/ccn_classAssess.R

cn_evalR Documentation

determine performance of classification at given threshold

Description

determine performance of classification at given threshold

Usage

cn_eval(
  vect,
  sampTab,
  dLevel,
  classification,
  threshs = seq(0, 1, by = 0.05),
  dLevelSID = "sample_id"
)

Arguments

vect

vector of values

sampTab

sample table

dLevel

colname

classification

actual classification

dLevelSID

column to indicate sample id

thresh

threshold above which to make a call

Value

return a data frame of the number of TP, FN, FP, and TN


pcahan1/cancerCellNet documentation built on July 16, 2022, 12:12 a.m.