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)
}

Try the synRNASeqNet package in your browser

Any scripts or data that you put into this service are public.

synRNASeqNet documentation built on May 2, 2019, 6:01 a.m.