annotation: Create a new Annotation object

View source: R/Annotation.R

annotationR Documentation

Create a new Annotation object

Description

Create a new Annotation object

Usage

annotation(
  file = NA_character_,
  metadata = list(),
  start = 0,
  end = Inf,
  low = 0,
  high = Inf,
  source = NA_character_,
  type = NA_character_,
  value = NA_character_
)

Arguments

file

File being annotated.

metadata

A list of metadata.

start

Start time of annotation (seconds).

end

End time of annotation (seconds).

low

Low frequency of annotation (Hz).

high

High frequency of annotation (Hz).

source

Source of annotation.

type

Type of annotation.

value

Value of annotation.

Value

An Annotation object.


sonicscrewdriver documentation built on May 29, 2024, 3:39 a.m.