plot.phylocorrelogram: Plot a phylogenetic correlogram

View source: R/correlogram.R

plot.phylocorrelogramR Documentation

Plot a phylogenetic correlogram

Description

This function plots phylogenetic correlograms produced by phyloCorrelogram

Usage

## S3 method for class 'phylocorrelogram'
plot(
  x,
  show.ci = TRUE,
  show.h0 = TRUE,
  show.test = TRUE,
  xlab = "Phylogenetic distance",
  ylab = "Correlation",
  main = "Phylogenetic correlogram",
  ...
)

Arguments

x

a phylocorrelogram object.

show.ci

a logical indicating whether to plot the confidence interval envelop (default TRUE).

show.h0

a logical indicating whether to plot the the line showing the expected value of Moran's I under the null hypothesis of no phylogenetic autocorrelation (default TRUE).

show.test

a logical indicating whether to plot indicator of significance (default TRUE).

xlab

a label for the x axis.

ylab

a label for the y axis.

main

a main title for the plot

...

other graphical parameters passed to the plot function.

Examples

## Not run: 
data(navic)
pc <- phyloCorrelogram(navic)
plot(pc)

## End(Not run)

phylosignal documentation built on Oct. 12, 2023, 5:13 p.m.