plot.opaHypothesisComparison {opa}R Documentation

Plot hypothesis comparison PCC replicates.

Description

Plot hypothesis comparison PCC replicates.

Usage

## S3 method for class 'opaHypothesisComparison'
plot(x, ...)

Arguments

x

an object of class "oparandpccs" produced by random_pccs()

...

ignored

Details

Plot a histogram of PCCs computed from randomly reordered data used to calculate the chance-value for a hypothesis comparison.

Value

no return value, called for side effects only.

Examples

dat <- data.frame(t1 = c(9, 4, 8, 10),
                  t2 = c(8, 8, 12, 10),
                  t3 = c(8, 5, 10, 11),
                  t4 = c(10, 5, 11, 12))
h1 <- hypothesis(c(1, 2, 3, 4))
h2 <- hypothesis(c(1, 4, 2, 3))
opamod1 <- opa(dat, h1)
opamod2 <- opa(dat, h2)
z <- compare_hypotheses(opamod1, opamod2)
plot(z)

[Package opa version 0.8.3 Index]