Skip to contents

Loads/combines banding, Motus, and tracking data via a loading_function (default get_transitions()) and attaches the result to loader$transitions.

Usage

# S3 method for class 'TransitionsLoader'
load_data(object, loading_function = get_transitions, ...)

Arguments

object

A TransitionsLoader().

loading_function

A function with signature function(loader) that returns the list described in get_transitions().

...

Not used.

Value

The modified loader (invisible) with loader$transitions populated.

Examples

if (FALSE) { # \dontrun{
tl <- TransitionsLoader(trainer)
tl <- load_data(tl)  # populates tl$transitions
} # }