Learn R Programming

GeRnika (version 1.0.0)

get_parents: Get parent nodes in a phylogenetic tree.

Description

This function retrieves the parent nodes for each node in a given phylogenetic tree.

Usage

get_parents(phylotree)

Value

A vector of parent nodes.

Arguments

phylotree

An object of the Phylotree class representing the phylogenetic tree.