plot.opaGroupComparison {opa}R Documentation

Plot group comparison PCC replicates.

Description

Plot group comparison PCC replicates.

Usage

## S3 method for class 'opaGroupComparison'
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 group comparison.

Value

no return value, called for side effects only.

Examples

dat <- data.frame(group = c("a", "b", "a", "b"),
                  t1 = c(9, 4, 8, 10),
                  t2 = c(8, 8, 12, 10),
                  t3 = c(8, 5, 10, 11))
dat$group <- factor(dat$group, levels = c("a", "b"))
h <- hypothesis(1:3)
opamod <- opa(dat[,2:4], h, group = dat$group)
z <- compare_groups(opamod, "a", "b")
plot(z)

[Package opa version 0.8.3 Index]