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.
phyloSignalINT(
p4d,
trait = names(tipData(p4d))[1],
method = "Cmean",
reps = 999,
W = NULL
)
A phylo4d
object with phylogenetic signal statistics and p-values as nodes associated data.
a phylo4d
object.
a character string giving the trait to use to compute the signal. By default the first trait is taken from p4d
.
a character vector giving the method to use to compute phylogenetic signal
(default is "Cmean
"; see phyloSignal
).
an integer. The number of repetitions for the estimation of p.values with randomization.
an optional matrix of phylogenetic weights to compute Moran's I. By default the matrix
is computed with the function proxTips
with patristic distances.