Learn R Programming

LifemapR (version 1.1.5)

+.lifemap_obj: Add a graphical element to a tree visualisation.

Description

Add a graphical element to a tree visualisation.

Usage

# S3 method for lifemap_obj
+(e1, e2)

Value

A lifemap_obj object.

Arguments

e1

An object of class lifemap_obj that contains at least $df, a dataframe, and $basemap, the map used to get the coordinates.

e2

A description of the graphical features wanted for a set of points (eg. markers, subtree, piecharts, ...).

Examples

Run this code
## Only run examples in interactive R sessions
if (interactive()) {
data(LM_eukaryotes)
LM_obj <- lifemap(LM_eukaryotes) + lm_markers() + lm_branches()
}

Run the code above in your browser using DataLab