Learn R Programming

phylosignal (version 1.3.1)

plot.phylocorrelogram: Plot a phylogenetic correlogram

Description

This function plots phylogenetic correlograms produced by phyloCorrelogram

Usage

# S3 method for 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

Run this code
if (FALSE) {
data(navic)
pc <- phyloCorrelogram(navic)
plot(pc)
}

Run the code above in your browser using DataLab