Skip to content

lauderui/open-visualizations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

417 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binder License: MIT

open-visualizations

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:

2021

- 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/

2020

- 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.

Made in R

Raincloud example

Made in R (credit to R. Kievit).

Raincloud example

Made in R

Raincloud example

Taken from the R package development version

Raincloud example

Taken from the R package development version

Raincloud example

Taken from the R package development version

Raincloud example

Taken from the R package development version

Raincloud example Raincloud example Raincloud example Raincloud example2

Made in Python

Example3

This repository currently includes visualizations made with:

  • Python (.ipynb)
  • R (.rmd)

Update 15 January 2021:

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

Update 10 Augustus 2020:

Development of a R package has started and a first version is expected to be completed by September 2020.

Update 30 April - 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.

Interactive tutorials

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.

Background

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.

About

Visualizations based on best open science practices.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 99.2%
  • R 0.8%