Learn R Programming

scmamp (version 0.2.55)

plotPvalues: Plotting the p-value matrix

Description

This function plots the p-value matrix as a tile plot.

Usage

plotPvalues(pvalue.matrix, alg.order = NULL, show.pvalue = TRUE, font.size = 5)

Arguments

pvalue.matrix
Matrix with the p-values to plot
alg.order
A permutation indicating the reordering of the algorithms
show.pvalue
Logical value indicating whether the numerical values have to be printed
font.size
Size of the p-values, if printed

Value

A ggplot object.

See Also

drawAlgorithmGraph, plotCD

Examples

Run this code
data(data_gh_2008)
pvalues <- friedmanPost(data.gh.2008)
ordering <- order(summarizeData(data.gh.2008))
plotPvalues(pvalues, alg.order=ordering)

Run the code above in your browser using DataLab