If you use this repository for your research, please cite it, thank you.
- van Langen, J. (2020). Open-visualizations in R and Python. https://github.com/jorvlan/open-visualizations
This repository has been used by:
* Garcia, J. M. (2021). Spanish Translation and Validation of the Medication Management Ability Assessment. Senior Honors Thesis / University of Houston Libraries. https://uh-ir.tdl.org/handle/10657/8249 * Callaghan, B., et al., (2021). Testing the efficacy of three informational interventions for reducing misperceptions of the Black–White wealth gap. PNAS (Proceedings of the National Academy of Sciences), 118(38). https://doi.org/10.1073/pnas.2108875118 * Suetani, S., et al., (2021). Impairments in goal-directed action and reversal learning in a proportion of individuals with psychosis: evidence for differential phenotypes in early and persistent psychosis. medRxiv. https://doi.org/10.1101/2021.08.31.21262937 * Motyka, P., et al., (2021). Perceptual Awareness of Optic Flows Paced Optimally and Non-optimally to Walking Speed. Perception, 03010066211034368. https://doi.org/10.1177/03010066211034368 * Schleider, J. L., et al., (2021). Single-session interventions for adolescent depression in the context of COVID-19: A nationwide randomized-controlled trial. PsyArXiv. https://psyarxiv.com/ved4p/ * Kang, M. S., & Chiu, Y. C. (2021). Proactive and reactive metacontrol in task switching. Memory & Cognition, 1-16. https://doi.org/10.3758/s13421-021-01189-8 * Heirene, R., et al., (2021). Accuracy of self-reported gambling frequency and outcomes: Comparisons with account data. PsyArXiv. https://psyarxiv.com/5hs7j/ * Jambazova, A. A. (2021). Studying the behavioural, physiological, and neural indices of associative learning in multi-trial paradigms: methodological and analytical considerations (Doctoral dissertation, University of Glasgow). http://theses.gla.ac.uk/82335/ * Trupp, M., et al., (2021). Can a brief interaction with online, digital art improve wellbeing?: A comparative study of the impact of online art and culture presentations on mood, state-anxiety, subjective wellbeing, and loneliness. PsyArXiv. https://psyarxiv.com/93atj/ * Bejjani, C., et al., (2021). Evaluating the learning of stimulus-control associations through incidental memory of reinforcement events. Journal of Experimental Psychology: Learning, Memory, and Cognition. https://doi.org/10.1037/xlm0001058 * Wynn, J.S., et al., (2021). Encoding and retrieval eye movements mediate age differences in pattern completion. Cognition. https://doi.org/10.1016/j.cognition.2021.104746 * Bellmund, J., et al., (2021). Structuring time: The hippocampus constructs sequence memories that generalize temporal relations across experiences. bioRxiv. https://doi.org/10.1101/2021.04.23.440002 * Allen, M., et al., (2021). Raincloud plots: A multi-platform tool for robust data visualization [version 2; peer review: 2 approved]. Wellcome Open Research. https://wellcomeopenresearch.org/articles/4-63/v2 * Kuhn, M., et al., (2021). Navigating the manifold of skin conductance response quantification approaches. PsyArXiv. https://psyarxiv.com/9h2kd * Voulgaropoulou, S., et al., (2021). Asymmetric effects of acute stress on cost and benefit learning. bioRxiv. https://doi.org/10.1101/2021.04.25.441347 * Mosley, P.E., et al., A randomised, double-blind, sham-controlled trial of deep brain stimulation of the bed nucleus of the stria terminalis for treatment-resistant obsessive-compulsive disorder. Translational Psychiatry. 11, 190 (2021). https://doi.org/10.1038/s41398-021-01307-9 * Hur, J., et al., (2021). Anxiety-related frontocortical activity is associated with dampened stressor reactivity in the real world. bioRxiv. https://doi.org/10.1101/2021.03.17.435791 * Kuhrt, D., et al., (2021). An immersive first-person navigation task for abstract knowledge acquisition. Scientific Reports. 11, 5612. https://doi.org/10.1038/s41598-021-84599-7 * JASP Team (2021). JASP - A Fresh Way to Do Statistics [Computer software]. Release version 0.15. https://jasp-stats.org/ * Somasundaram, V., et al., (2021). Contingency learning is not modulated by cognitive control demands. PsyArXiv. https://psyarxiv.com/z5ngw/ * Pálffy, Z., et al., (2021). Cross-modal auditory priors drive the perception of bistable visual stimuli with reliable differences between individuals. PsyArXiv. https://psyarxiv.com/kj5cf/ * Altay, S., et al., (2021). Information Delivered by a Chatbot Has a Positive Impact on COVID-19 Vaccines Attitudes and Intentions. PsyArXiv. https://psyarxiv.com/eb2gt/
* Legrand, N., et al., (2020). Emotional metacognition: stimulus valence modulates cardiac arousal and metamemory. Cognition and Emotion, 1-17. https://doi.org/10.1080/02699931.2020.1859993 * Petzka, M., et al., (2020). Does sleep-dependent consolidation favour weak memories? Cortex, 134, 65-75. https://doi.org/10.1016/j.cortex.2020.10.005 * Plotnine: A grammar of graphics for Python (2020). GitHub. https://github.com/has2k1/plotnine readthedocs. https://plotnine.readthedocs.io/en/stable/ * Burley, D. T., et al., (2020). Childhood conduct problems are associated with reduced white matter fibre density and morphology. Journal of Affective Disorders. https://doi.org/10.1016/j.jad.2020.11.098 * Daeglau, M., et al., (2020). Motor Imagery EEG neurofeedback skill acquisition in the context of declarative interference and sleep. bioRxiv. https://doi.org/10.1101/2020.12.11.420919 * Weiss, B., et al., (2020). Examining Changes in Personality Following Shamanic Ceremonial Use of Ayahuasca. Research Square. https://www.researchsquare.com/article/rs-111130/v1 * Wiwad, D. et al., (2020). The impact of COVID-19 on attitudes toward poverty and inequality. Journal of Experimental Social Psychology. https://doi.org/10.1016/j.jesp.2020.104083 * Wiwad, D., et al., (2020). Recognizing the Impact of Covid-19 on the Poor Alters Attitudes Towards Poverty and Inequality. PsyArXiv. https://psyarxiv.com/geyt4/ * Ehlers, M.R., et al., (2020). Revisiting potential associations between brain morphology, fear acquisition and extinction through new data and a literature review. Scientific Reports. https://doi.org/10.1038/s41598-020-76683-1 * Bejjani, C., et al., (2020). Minimal impact of consolidation on learned switch-readiness. bioRxiv. https://psyarxiv.com/5ewj6/ * Mosley, P., et al., (2020). A Randomised, Double-Blind, Sham-Controlled Trial of Deep Brain Stimulation of the Bed Nucleus of the Stria Terminalis for Treatment-Resistant Obsessive-Compulsive Disorder. medRxiv. https://www.medrxiv.org/content/10.1101/2020.10.24.20218024v1 * Kuhrt, D., et al., (2020). An immersive first-person navigation task for abstract knowledge acquisition. bioRxiv. https://www.biorxiv.org/content/10.1101/2020.07.17.208900v1 * Hatano, A., et al., (2020). Thinking about thinking: People Underestimate Intrinsically Motivating Experiences of Waiting PsyArXiv. https://psyarxiv.com/r6mde * Medel, V., et al., (2020). Complexity and 1/f slope jointly reflect cortical states across different E/I balances. bioRxiv. https://doi.org/10.1101/2020.09.15.298497 * Genc, S., et al., (2020). Longitudinal patterns of white matter fibre density and morphology in children is associated with age and pubertal stage. Developmental Cognitive Neuroscience, 100853. https://doi.org/10.1016/j.dcn.2020.100853 * Mosley, P., et al.,(2020). Subthalamic Deep Brain Stimulation Identifies Frontal Networks Supporting Initiation, Inhibition and Strategy Use in Parkinson's Disease: Initiation and Inhibition after STN-DBS for PD. NeuroImage, 117352. https://doi.org/10.1016/j.neuroimage.2020.117352 * Genc, S., et al., (2020). Longitudinal white matter development in child-ren is associated with puberty, attentional difficulties and mental health. bioRxiv, 607671. https://www.biorxiv.org/content/10.1101/607671v2 * Wynn J., et al., (2020). Encoding and retreival eye movements mediateage differences in pattern completion. PsyArXiv. https://psyarxiv.com/mdx3f/ * Ehlers, M.R, et al., (2020). Natural variations in brain morphology do not account for inter-individual differences in defensive responding during fear acquisition training and extinction. PsyArXiv. https://psyarxiv.com/q2kyf/ * Uhlig, M., & Gaebler, M. (2020, July 27). Rapid brain changes following acute psychosocial stress. OSF https://osf.io/vw2zb/ * Bejjani, C., & Egner, T. (2020). How reinforcement shapes the binding of stimulus-control associations. PsyArXiv. https://psyarxiv.com/cdpxh/ * Wiedemann (2020). lcsm: Univariate and Bivariate Latent Change Score Modeling. CRAN https://cran.r-project.org/web/packages/lcsm/vignettes/v0-longitudinal-plots.html
Visualizations based on best open science practices.
This repository currently includes visualizations made with:
- Python (.ipynb)
- R (.rmd)
Now there is a fully functional R-package 'raincloudplots' to make it even easier to create these visualizations for your research. The package has been incorporated in the following paper:
- Allen, M., Poggiali, D., Whitaker, K., Marshall, T. R., van Langen, J., & Kievit, R. A. Raincloud plots: a multi-platform tool for robust data visualization [version 2; peer review; 2 approved] Wellcome Open Research 2021, 4:63. https://doi.org/10.12688/wellcomeopenres.15191.2
Development of a R package has started and a first version is expected to be completed by September 2020.
Thanks to the overwhelming feedback on Twitter, and thanks to Micah Allen, I will try to implement some comments and upload an updated version somewhere in the next two months. It might be that, due to the recent Rstudio update, some package versions don't work anymore e.g., gghalves. If you encounter this problem, please try to install those packages from CRAN and if that doesn't work, try to install it from the respective GitHub package page.
Both Python tutorials and the R tutorial are directly available through Binder. Click on the Binder launcher to open them!
NOTE: if you want to open the R tutorial with Binder and use RStudio, you'll have to select RStudio within the Jupyter environment by - inside the R folder - clicking: 'new' -> 'RStudio'. This will open RStudio in Binder. If you perform the R tutorial in Binder, the error:Error in grid.newpage() : could not open file ...
occurs when using ggsave. At this stage, I don't know how to fix this issue, but the figure will be presented, so please ignore this error.
The idea behind the ‘open-visualizations’ repository stems from the fact that (open) science - in general - lacks ‘fully’ transparent and robust visualizations, i.e., figures have always some form of ‘hidden-data’. To overcome this issue, I created this repository. Some of the work in R is inspired by work from Allen et al. (2019)(https://github.com/RainCloudPlots/RainCloudPlots)
There is a zenodo (https://doi.org/10.5281/zenodo.3715576) archive of the code and this repository is made available under the MIT license i.e., you can do with it what you want, but if you use it, reference needs to be given to the author of this repository.
van Langen, J. (2020). Open-visualizations in R and Python. https://github.com/jorvlan/open-visualizations
I hope that these tutorials are helpful for your research and if you have any questions, suggestions for improvement or identify bugs, please open an issue in this repository.