File: testFunctionsForTheGUI.R

package info (click to toggle)
r-cran-mutoss 0.1-12-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,608 kB
  • sloc: sh: 13; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 513 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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) 
	}
}