Node-class: Node-class

Description Usage Arguments Slots See Also

Description

The Node is an S4 class used for displaying node information. It is only generated when a user implements the [[]] on a tree. Information is only accurate if tree has been updated with updateTree().

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## S4 method for signature 'Node'
as.character(x)

## S4 method for signature 'Node'
show(object)

## S4 method for signature 'Node'
print(x)

## S4 method for signature 'Node'
summary(object)

## S4 method for signature 'Node,character,missing,missing'
x[i, j, ..., drop = TRUE]

Arguments

x

Node object

object

Node object

i

slot name

j

missing

...

missing

drop

missing

Slots

id

unique ID for node in tree['ndlst']

spn

length of preceding branch

prid

parent node ID

ptid

child node ID

kids

descending tip IDs

nkids

number of descending tip IDs

txnym

list of associated taxonyms

pd

total branch length represented by node

prdst

total branch length of connected prids

root

T/F root node?

tip

T/F tip node?

See Also

TreeMan-class, TreeMen-class


treeman documentation built on July 8, 2020, 7:28 p.m.