Learn R Programming

TreeSearch (version 0.4.3)

JackLabels: Label nodes with jackknife support values

Description

Label nodes with jackknife support values

Usage

JackLabels(
  tree,
  jackTrees,
  add = FALSE,
  adj = 0,
  col = NULL,
  frame = "none",
  pos = 2L,
  ...
)

Arguments

tree

A tree of class phylo.

jackTrees

A list or multiPhylo object containing trees generated by Jackknife().

add

Logical specifying whether to add the labels to an existing plot.

adj, col, frame, pos, …

Parameters to pass to nodelabels.

Value

A named vector specifying the proportion of jackknife trees consistent with each node in tree, as plotted.

See Also

Jackknife(): Generate trees by jackknife resampling

Examples

Run this code
# NOT RUN {
library('TreeTools') # for as.phylo

# jackTrees will usually be generated with Jackknife(), but for simplicity:
jackTrees <- as.phylo(1:100, 8)

JackLabels(as.phylo(0, 8), jackTrees)

# }

Run the code above in your browser using DataLab