View source: R/evaluateMetrics.R
CV2AUCVC | R Documentation |
Please refer to the file /inst/doc/readme.pdf.
CV2AUCVC(data, cvResolution = 0.005)
data |
Please refer to the file /inst/doc/readme.pdf. |
cvResolution |
Please refer to the file /inst/doc/readme.pdf. |
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (data, cvResolution = 0.005)
{
cv_cutoff <- NULL
uniform_genes_counts <- NULL
for (i in seq(0, 1, cvResolution)) {
cv_cutoff <- c(cv_cutoff, i)
gene_number <- length(which(data <= i))
uniform_genes_counts <- c(uniform_genes_counts, gene_number)
}
getArea(cv_cutoff, uniform_genes_counts)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.