Bootstrap_LOOCV_LR_AUC: Bootstrap on Leave-one-out CV with Logistic Regression.

View source: R/evaluate.R

Bootstrap_LOOCV_LR_AUCR Documentation

Bootstrap on Leave-one-out CV with Logistic Regression.

Description

Bootstrap on Leave-one-out CV with Logistic Regression.

Usage

Bootstrap_LOOCV_LR_AUC(df, targetVec, nboot)

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 rows as df. Required.

nboot

an integer specifying the number of bootstrap iterations.

Value

A list of length 2 with elements

auc

A vector the length of nboot with the AUC from each bootstrap iteration.

byClass

A dataframe with number of rows equal to nboot. Each row contains the sensitivity, specificity, positive predictive value, negative predictive value, precision, recall, F1, prevalence, detection rate, detection prevalence and balanced accuracy for that bootstrap iteration.


dfjenkins3/TBSignatureProfiler documentation built on Oct. 26, 2024, 1:29 a.m.