Computes phylogenetic signal at each internal node of a phylogeny

Share:

Description

This function computes phylogenetic signal statistics and p-values for a given trait and a given method at each internal node of a phylogenetic tree.

Usage

1
2
phyloSignalINT(p4d, trait = names(tipData(p4d))[1], method = "Cmean",
  reps = 999, W = NULL)

Arguments

p4d

a phylo4d object.

trait

a character string giving the trait to use to compute the signal. By default the first trait is taken from p4d.

method

a character vector giving the method to use to compute phylogenetic signal (default is "Cmean"; see phyloSignal).

reps

an integer. The number of repetitions for the estimation of p.values with randomization.

W

an optional matrix of phylogenetic weights to compute Moran's I. By default the matrix is computed with the function proxTips with patristic distances.

Value

A phylo4d object with phylogenetic signal statistics and p-values as nodes associated data.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.