Learn R Programming

clusterCons (version 1.2)

aucplot: Generate an area under the curve plot using lattice graphics

Description

This function uses the lattice function xyplot to generate an AUC plot from a valid "auc" class object (see auc-class).

Usage

aucplot(x)

Arguments

x

a valid "auc" class object (see auc-class), normally generated by the aucs function.

Value

No return value, called for side effects

References

Merged consensus clustering to assess and improve class discovery with microarray data. Simpson TI, Armstrong JD and Jarman AP. BMC Bioinformatics 2010, 11:590.

See Also

consmatrix-class

Examples

Run this code
# NOT RUN {
#load up a test cluscomp result
data('testcmr');

#look at the result structure
summary(testcmr);

#calculate all of the AUC values from the \code{cluscomp} result for algorithm 'kmeans'
kmeanscmr <- testcmr[grep('kmeans',names(testcmr))];
acs <- aucs(kmeanscmr);

#plot the AUC curve
aucplot(acs);
# }

Run the code above in your browser using DataLab