Learn R Programming

clusterCons (version 1.2)

dkplot: Generate a delta-K plot from area under the curve (AUC) values across multiple cluster numbers.

Description

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

Usage

dkplot(x)

Arguments

x

a valid "dk" class object (see dk-class), normally generated by the deltak 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);

#calculate all of the delta-K values
dks <- deltak(acs);

#plot the delta-K curve
dkplot(dks);
# }

Run the code above in your browser using DataLab