piermorel/gramm

Connecting data points across repeated measures conditions

Open

#92 opened on Jan 25, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)MATLAB (220 forks)batch import
help wanted

Repository metrics

Stars
 (773 stars)
PR merge metrics
 (Avg merge 19d 7h) (2 merged PRs in 30d)

Description

Dear Pier,

I have repeated measures data from subjects across multiple conditions, that I'd like to show as raw data points + boxplots. I am using a combination of g.stat_boxplot and g.geom_jitter for this.

I would also like to connect data points across these conditions, to help visually identify subjects. A bit like this: 20200114_163336

The only such functionality I found in gramm was the 'geom',{'line', 'lines'} argument of g.stat_summary. However, that just connects the means/error bars, not the actual data points.

I could easily manually draw the lines myself in a for loop, however adding content to a gramm figure (with update) seems rather difficult/unstable.

Are you able to help? Thank you so much!

Tudor

Contributor guide