
H5(a(strong('See paper, statistics, all data.'), 'Plots by group and brain area shown in paper.', # Condition 1 for reactivity between tabs and sidebars WindowTitle = 'Visualization of ERP waveforms from experiment on Conceptual Modality Switch (Bernabeu et al., 2017)'), Style = 'color:#3E454E text-decoration:underline font-weight:normal'), align = 'center', style = 'color:black'), TitlePanel(h3(strong('Waveforms in detail from an ERP experiment on the Conceptual Modality Switch'), a('(Bernabeu et al., 2017)', Tags$meta(name='viewport', content='width=device-width, initial-scale=1.0'), Tags$meta(name='keywords', content='R, Shiny, ggplot2, visualisation, data, psycholinguistics, conceptual processing, modality switch, embodied cognition'),

Tags$meta(name='description', content='This R Shiny visualisation dashboard presents data from a psycholinguistic ERP experiment (Bernabeu et al., 2017).'), Tags$head(tags$link(rel='shortcut icon', href='')), # web favicon The snippet below shows the beginning of an example ui.R script. The interface may present a central plot before by a legend key below. For instance, a factor column in the data that has multiple categories may be neatly displayed with a drop-down list on the side bar of the website. The ui script defines the user interface. Output$plot_GroupAndElectrode <- renderPlot(, The snippet below shows the beginning of an example server.R script.ĮEG.ParticipantAndElectrode = readRDS('')ĮEG.ParticipantAndBrainArea = readRDS('')ĮEG.GroupAndElectrode = readRDS('')ĮEG.OLDGroupAndElectrode = readRDS('') At the top, call the shiny library and any others used (e.g., ‘ggplot2’), and also read in the data.
#Microvolts private server code#
Code that existed independently of the app app may be brought into this script by slightly adapting it. The server script contains the central processes: plots, tables, etc. I focus on R Shiny here for three reasons: it is affordable to use, fairly accessible to new users, and well suited for science as it is based on the R language (see for instance this article). There are several platforms for creating apps (e.g., Tableau, D3.js, and R Shiny). This particular trait in the data was rather salient.īeyond such a salient feature in the data, a visualisation app may also help to spot subtler patterns such as third variables or individual differences. Yet, instead of removing that from the app, I maintained it with a note attached. Instead of running through a heavy score of code, the drop-down lists of the app let me seamlessly surf through the different sections.Īt a certain point, I found a data section that was consistently noisier than the rest, and eventually I had to discard it from further statistical analyses. For instance, my app helped me to identify the extent of noise in a section of the data. Publishers and journals highly encourage authors to make the most of their data by facilitating its easy exploration by the readership–even though they don’t normally offer the possibility of hosting any web applications yet.Īpps can also prove valuable to those analysing the data. This facilitates the public exploration of each section of the data (groups, participants, trials…) to anyone interested, and allows researchers to account for their proceeding in the analysis.

Alongside files and code shared in repositories, we can present the data in a website, in the form of plots or tables. In science and beyond, these apps allow us to go the extra mile in sharing data. Apps serve a broad variety of purposes (see this gallery and this one). Among the available platforms, R Shiny and Tableau stand out due to being relatively accessible to new users. This allows for three options: private viewing (useful during analysis), selective sharing (used within work groups), or internet publication. Visualisation apps run on internet browsers. These web applications can be useful for both the data analyst and the public at large. Dashboards for data visualisation, such as R Shiny and Tableau, allow the interactive exploration of data by means of drop-down lists and checkboxes, with no coding required from the final users.
