add_lm_branches: Compute the aesthetics for a subtree visualisation.

View source: R/draw_Lifemap.R

add_lm_branchesR Documentation

Compute the aesthetics for a subtree visualisation.

Description

Compute the aesthetics for a subtree visualisation.

Usage

add_lm_branches(
  proxy,
  aes,
  df,
  df_visible,
  df_descendants,
  group_info,
  all_taxids
)

Arguments

proxy

The map to be modified.

aes

The dataframe containing the aesthetics details (must be of lm_branches class).

df

The full dataframe.

df_visible

The dataframe containing visible taxa.

df_descendants

The dataframe containing all the information on the descendants of visible taxa.

group_info

the ID of this group of lines.

all_taxids

A vector containing all the visible taxids and their direct descendants.

Value

An updated map with the new layer added.


damiendevienne/lifemapr documentation built on April 12, 2025, 10:47 a.m.