sort_annotations: Sort annotations

View source: R/Annotation.R

sort_annotationsR Documentation

Sort annotations

Description

Sorts a list of annotations by either start time, frequency, or both.

Usage

sort_annotations(annotations, domain = "time", decreasing = FALSE)

Arguments

annotations

A list of Annotation objects.

domain

Domain of the annotations, either "time", "frequency", or "both".

decreasing

If TRUE, sort in decreasing order.

Value

A list of Annotation objects.


edwbaker/SonicScrewdriveR documentation built on Feb. 14, 2025, 2:45 p.m.