Skip to contents

Find higher taxonomic levels for a given taxon (e.g., Class and Order for a given Family)

Usage

Find_ancestors(
  child_num,
  Database = FishLife::FishBase_and_RAM,
  ParentChild_gz = Database$ParentChild_gz
)

Arguments

child_num

row number of ParentChild_gz for which to find ancestors

ParentChild_gz

Matrix representing taxonomic tree for analyzed data

Value

vector of row numbers of ParentChild_gz for ancestors (including child_num)