taxatreePruneLabelArgs: Helper, removes unwanted arguments from geom_* call args list

View source: R/taxatree_plotkey.R

taxatreePruneLabelArgsR Documentation

Helper, removes unwanted arguments from geom_* call args list

Description

Helper, removes unwanted arguments from geom_* call args list

Usage

taxatreePruneLabelArgs(fun, args)

Arguments

fun

function name or function itself e.g. geom_label_repel

args

named list of args

Value

args list possibly with elements removed

Examples

microViz:::taxatreePruneLabelArgs(fun = "geom_label", args = list(size = 2, seed = 2))
microViz:::taxatreePruneLabelArgs(fun = library, args = list(size = 2, seed = 2))

david-barnett/microViz documentation built on April 17, 2025, 4:25 a.m.