R, a programming language, is an attractive tool for data visualization because it is free and open source. However, learning R can be intimidating and cumbersome for many. In this report, we introduce an R package called “smplot” for easy and elegant data visualization. The R package “smplot” generates graphs with defaults that are visually pleasing and informative. Although it requires basic knowledge of R and ggplot2, it significantly simplifies the process of plotting a bar graph, a violin plot, a correlation plot, a slope chart, a Bland-Altman plot and a raincloud plot. The aesthetics of the plots generated from the package are elegant, highly customisable and adhere to important practices of data visualization. The functions from smplot can be used in a modular fashion, thereby allowing the user to further customise the aesthetics. Thesmplotpackage is open source under the MIT license and available on Github (https://github.com/smin95/smplot), where updates will be posted. All the example figures in this report are reproducible and the codes and data are provided for the reader in a separate online guide (https://smin95.github.io/dataviz/).
Deprivation of visual information from one eye for a 120-minute period in normal adults results in a temporary strengthening of the patched eye’s contribution to binocular vision. This plasticity for ocular dominance in adults has been demonstrated by binocular rivalry as well as binocular fusion tasks. Here, we investigate how its dynamics depend on the duration of the monocular deprivation. Using a binocular combination task, we measure the magnitude and recovery of ocular dominance change after durations of monocular deprivation ranging from 15 to 300 minutes. Surprisingly, our results show that the dynamics are of an all-or-none form. There was virtually no significant dependence on the duration of the initial deprivation.
Melatonin (MLT) is a neurohormone that regulates many physiological functions including sleep, pain, thermoregulation, and circadian rhythms. MLT acts mainly through two G-protein-coupled receptors named MT1 and MT2, but also through an MLT type-3 receptor (MT3). However, the role of MLT receptor subtypes in thermoregulation is still unknown. We have thus investigated the effects of selective and non-selective MLT receptor agonists/antagonists on body temperature (Tb) in rats across the 12/12-h light–dark cycle. Rectal temperature was measured every 15 min from 4:00 a.m. to 9:30 a.m. and from 4:00 p.m. to 9:30 p.m., following subcutaneous injection of each compound at either 5:00 a.m. or 5:00 p.m. MLT (40 mg/kg) had no effect when injected at 5 a.m., whereas it decreased Tb during the light phase only when injected at 5:00 p.m. This effect was blocked by the selective MT2 receptor antagonist 4P-PDOT and the non-selective MT1/MT2 receptor antagonist, luzindole, but not by the α1/MT3 receptors antagonist prazosin. However, unlike MLT, neither the selective MT1 receptor partial agonist UCM871 (14 mg/kg) nor the selective MT2 partial agonist UCM924 (40 mg/kg) altered Tb during the light phase. In contrast, UCM871 injected at 5:00 p.m. increased Tb at the beginning of the dark phase, whereas UCM924 injected at 5:00 a.m. decreased Tb at the end of the dark phase. These effects were blocked by luzindole and 4P-PDOT, respectively. The MT3 receptor agonist GR135531 (10 mg/kg) did not affect Tb. These data suggest that the simultaneous activation of both MT1 and MT2 receptors is necessary to regulate Tb during the light phase, whereas in a complex but yet unknown manner, they regulate Tb differently during the dark phase. Overall, MT1 and MT2 receptors display complementary but also distinct roles in modulating circadian fluctuations of Tb.
In the recent decade, studies have shown that short-term monocular deprivation strengthens the deprived eye's contribution to binocular vision. However, the magnitude of the change in eye dominance after monocular deprivation (i.e., the patching effect) has been found to be different between different methods and within the same method. There are three possible explanations for the discrepancy. First, the mechanisms underlying the patching effect that are probed by different measurement tasks might exist at different neural sites. Second, the test-retest variability of the same test can produce inconsistent results. Third, the magnitude of the patching effect itself within the same observer can vary across separate days or experimental sessions. To explore these possibilities, we assessed the test-retest reliability of the three most commonly used tasks (binocular rivalry, binocular combination, and dichoptic masking) and the repeatability of the shift in eye dominance after short-term monocular deprivation for each of the task. Two variations for binocular phase combination were used, at one and many contrasts of the stimuli. Also, two variations for dichoptic masking were employed; the orientation of the mask grating was either horizontal or vertical. Thus, five different tasks were evaluated. We hoped to resolve some of the inconsistencies reported in the literature concerning this form of visual plasticity. In this study, we also aimed to recommend a measurement method that would allow us to better understand its physiological basis and the underpinning of visual disorders.
The Pulfrich effect is a stereo-motion phenomenon. When the two eyes are presented with visual targets moving in fronto-parallel motion at different luminances or contrasts, the perception is of a target moving-in-depth. It is thought that this percept of motion-in-depth occurs because lower luminance or contrast delays the speed of visual processing. Spatial properties of an image such as spatial frequency and size have also been shown to influence the speed of visual processing. In this study, we use a paradigm to measure interocular delay based on the Pulfrich effect where a structure-from-motion defined cylinder, composed of Gabor elements displayed at different interocular phases, rotates in depth. This allows us to measure any relative interocular processing delay while independently manipulating the spatial frequency and size of the micro elements (i.e., Gabor patches). We show that interocular spatial frequency differences, but not interocular size differences of image features, produce interocular processing delays.