Learn R Programming

optCluster (version 1.3.2)

aggregPlot: Rank Aggregation Plot

Description

aggregPlot displays a figure representing the results from rank aggregation.

Usage

aggregPlot(x, show.average = TRUE, show.legend = TRUE, colR = "red", ...)

Arguments

x

An object of class "'>optCluster".

show.average

If TRUE, the average aggregation will be plotted.

show.legend

If TRUE, the legend will be displayed.

colR

A character string specifying the line color for the optimal ranked list.

Additional plotting parameters.

Details

This function will produce a visual representation of rank aggregation results in three plots combined into a single figure. The top left plot displays the minimum values of the objective function as the number of iterations increases. The top right plot is a histogram of the objective function scores at the last iteration. The bottom plot shows the individual ranks of the clustering algorithms from the data (in grey), the final "optimal" rankings (in red), and the average ranking of each clustering algorithm (in black).

References

Pihur, V., Datta, S. and Datta, S. (2009). RankAggreg, an R package for weighted rank aggregation. BMC Bioinformatics, 10:62, https://bmcbioinformatics.biomedcentral.com/articles/10.1186/1471-2105-10-62.

See Also

RankAggreg, optCluster-class

Examples

Run this code
# NOT RUN {
	
	## This example may take a few minutes to compute
	
# }
# NOT RUN {
	## Obtain Dataset
	data(arabid)
		
	## Normalize Data with Respect to Library Size	
	obj <- t(t(arabid)/colSums(arabid))
	
	## Analysis of Normalized Data using Internal and Stability Validation Measures
	norm1 <- optCluster(obj, 2:4, clMethods = "all")
	aggregPlot(norm1)
	
	
# }

Run the code above in your browser using DataLab