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

Description Usage Arguments Value

View source: R/evaluate.R

Description

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

Usage

1
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.


TBSignatureProfiler documentation built on Nov. 8, 2020, 6:56 p.m.