R/testFunctionsForTheGUI.R

Defines functions pValuesPlot adjPValuesPlot

Documented in adjPValuesPlot pValuesPlot

# A File for temporarily functions to test the GUI.
# 
# Author: MarselScheer
###############################################################################


pValuesPlot = function(pValues) {
	plot(ecdf(pValues), do.points=FALSE, verticals = TRUE, main="ecdf", ylim=c(0,1))
	abline(0,1, col=2)
}

adjPValuesPlot = function(adjPValues, alpha) {
	plot(sort(adjPValues), main="Adjusted p-values", ylab="adjusted p-values", xlab="ordered index", ylim=c(0,1))
	if (!missing(alpha)) { 
		abline(alpha,0, col=2) 
	}
}

Try the mutoss package in your browser

Any scripts or data that you put into this service are public.

mutoss documentation built on May 2, 2019, 5:56 p.m.