LOOAUC_simple_multiple_noplot_one_df: Perform Leave-one-out CV with Logistic Regression.

View source: R/evaluate.R

LOOAUC_simple_multiple_noplot_one_dfR Documentation

Perform Leave-one-out CV with Logistic Regression.

Description

Perform Leave-one-out CV with Logistic Regression.

Usage

LOOAUC_simple_multiple_noplot_one_df(df, targetVec)

Arguments

df

a data.frame of gene expression count data. Required.

targetVec

a binary vector of the response variable. Should be the same number of samples as in df. Required.

Value

A list of length 3 with elements

auc

The AUC from the LOOCV procedure.

byClass

A vector containing the sensitivity, specificity, positive predictive value, negative predictive value, precision, recall, F1, prevalence, detection rate, detection prevalence and balanced accuracy.

prob

A vector of the test prediction probabilities.


compbiomed/TBSignatureProfiler documentation built on April 9, 2024, 10:46 p.m.