plot.enve.TRIBStest {enveomics.R}R Documentation

Enveomics: TRIBS Plot Test

Description

Plots an enve.TRIBStest object.

Usage

## S3 method for class 'enve.TRIBStest'
plot(
  x,
  type = c("overlap", "difference"),
  col = "#00000044",
  col1 = col,
  col2 = "#44001144",
  ylab = "Probability",
  xlim = range(attr(x, "dist.mids")),
  ylim = c(0, max(c(attr(x, "all.dist"), attr(x, "sel.dist")))),
  ...
)

Arguments

x

enve.TRIBStest object to plot.

type

What to plot. overlap generates a plot of the two contrasting empirical PDFs (to compare against each other), difference produces a plot of the differences between the empirical PDFs (to compare against zero).

col

Main color of the plot if type=difference.

col1

First color of the plot if type=overlap.

col2

Second color of the plot if type=overlap.

ylab

Y-axis label.

xlim

X-axis limits.

ylim

Y-axis limits.

...

Any other graphical arguments.

Value

No return value.

Author(s)

Luis M. Rodriguez-R [aut, cre]


[Package enveomics.R version 1.9.1 Index]