catplot.vs.random: Permutation based CAT plots.

Description Usage Arguments Author(s) See Also

Description

Permute x or y, B times, and re-calculate the CAT traces of x vs y', or x' vs y. Plot this distribution of randomised CAT traces as a grey null distribution, with the unpermuted CAT trace over the top.

Usage

1
2
3
4
5
  catplot.vs.random(x, y, B = 100, sizes = 1:2000,
    sizes.random = NULL, ylim = c(0, 1),
    proportion = FALSE, random.col = "lightgrey",
    add = FALSE, col = 1, randomise = "y", pch = 1,
    main = "CAT plot", ...)

Arguments

x

usually a character vectors, but could be a vector of distinct numbers.

y

usually a character vectors, but could be a vector of distinct numbers.

B

the number of permutations

sizes

an integer vector to use as the values for “n”

sizes.random

an integer vector to use as the values for “n”. default=NULL, which take on the first c(1:100,200,300,N)

ylim

see plot

proportion

logical: set x-axis to proportion in common

random.col

the background colour of the randomised area

add

see plot

col

the colour of the foreground points

randomise

which data set to randomise? “x” or “y”.

pch

the print character. Default: NULL = choose the pch based on the values for xTrue and yTrue. see Details

main

see plot

...

arguments passed to plot

Author(s)

Mark Cowley, 2008-12-08

See Also

catplot calc.CAT


drmjc/mjcgraphics documentation built on May 15, 2019, 2:40 p.m.