This function plot CFBS as tile plots with chunk boundaries added on top.

plot_CFBS(
  fbs,
  chunk_durations,
  file,
  tile_colour = "black",
  boundary_colour = "red",
  linewidth = 2
)

Arguments

fbs

FBS list. Typically created with either get_fbs or get_mel.

chunk_durations

Chunk duration list. Typically created with either get_chunk_duration.

file

Name of the file you want to plot.

tile_colour

Line colour of the tiles. Defaults to "black".

boundary_colour

Line colour of the boundary lines. Defaults to "red".

linewidth

Line width of the boundary lines. Defaults to 2.

Value

A data frame.

References

Wickham, H. (2016). ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York. ISBN 978-3-319-24277-4. Retrieved from https://ggplot2.tidyverse.org

Wickham, H. (2007). Reshaping Data with the reshape Package. Journal of Statistical Software, 21(12), 1-20. Retrieved from http://www.jstatsoft.org/v21/i12/

Author

Dominic Schmitz

Examples

if (FALSE) {
plot_CFBS(fbs = fbs, chunk_durations = chunk_durations, file = "example.wav")
}