get_auroc: Calculate the area under the ROC curve for a given gene.

Description Usage Arguments

View source: R/ShinyFunctions.R

Description

For a given gene a binary classifier is constructed based on the mean cluster expression values (these are calculated using the cell labels). The classifier prediction is then calculated using the gene expression ranks. The area under the receiver operating characteristic (ROC) curve is used to quantify the accuracy of the prediction. A p-value is assigned to each gene by using the Wilcoxon signed rank test.

Usage

1

Arguments

gene

expression data of a given gene

labels

cell labels correspodning to the expression values of the gene


brickyyyy/MinimizedSC3 documentation built on May 23, 2019, 1:45 p.m.