Add / List / Remove perspective to / of / from emuDB. The EMU-webApp subdivides different ways
to look at an emuDB into so called perspectives. These perspectives,
between which you can switch in the web application, contain
information on what levels are displayed, which ssffTracks are drawn,
and so on. For more information on the structural elements of an emuDB
see vignette{emuDB}
.
add_perspective(emuDBhandle, name)list_perspectives(emuDBhandle)
remove_perspective(emuDBhandle, name)
emuDB handle as returned by load_emuDB
name of perspective
# NOT RUN {
##################################
# prerequisite: loaded ae emuDB
# (see ?load_emuDB for more information)
# add perspective called "justTones" to the ae emuDB
add_perspective(emuDBhandle = ae,
name = "justTones")
# add levelCanvasOrder so only the "Tone" level is displayed
set_levelCanvasesOrder(emuDBhandle = ae,
perspectiveName = "justTones",
order = c("Tone"))
# list perspectives of ae emuDB
list_perspectives(emuDBhandle = ae)
# remove newly added perspective
remove_perspective(emuDBhandle = ae,
name = "justTones")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab