R/YoudenIndex.R

Defines functions YoudenIndex

Documented in YoudenIndex

YoudenIndex <-
function(resTable){
  sensitivity <- resTable$TP/(resTable$TP + resTable$FN)
  specificity <- resTable$TN/(resTable$FP + resTable$TN)
  
  ggamma <- sensitivity - (1 - specificity) #informedness
  return(ggamma)
}
lucgar/synRNASeqNet documentation built on May 21, 2017, 3:39 p.m.