Skip to main content

Posts

Showing posts from October, 2022
CANAL Lab Blog - Using ggseg to plot multivariate brain data On this page Setting up our Example: Sleep and Cortical Thickness Tidying up the variable names Plot the distributions of the Sleep Variables Ye bog-standard correlation analyses… Nice! Onward, to the great multivariate beyond! Sample write up: Using ggseg to plot multivariate brain data Cortical Thickness Code Analysis R Multivariate PLS (partial-least-squares) Published October 17, 2022 Using ggseg, developed by Mowinckel and Vidal-PiƱeiro ( 2019 ) is currently one of my favorite things about doing neuroimaging analysis in R. Most R users are familiar with using ggplot to iteratively build up their plots, and ggseg uses this grammar of graphics to produce stunning visualizations. This approach is freeing since it encourag...