scorePreprocessor.dotplot: Score preprocessing for shape 'dotplot'

View source: R/scorePreprocessor.dotplot.R

scorePreprocessor.dotplotR Documentation

Score preprocessing for shape 'dotplot'

Description

This function does some needed preprocessing for shape dotplot to get the method ready to render. In this case, it takes the 'time' and 'tempo' mappings and translates them into start times. It also scales duration accordingly.

Usage

  ## S3 method for class 'dotplot'
 scorePreprocessor(sonlayerscore, opts,
    ...)

Arguments

sonlayerscore

The score generated for a specific sonlayer by .getSonlayerScore()

opts

The options passed as shape parameters in a sonlayer

Value

A sonlayer score with the transformations described in the 'Description' field


statisfactions/playitbyr documentation built on Jan. 27, 2024, 1:33 p.m.