Conversation
… into mdmaptsd-code
… into mdmaptsd-code
… into mdmaptsd-code
… into mdmaptsd-code
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: def7517cec
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| Our depression outcomes are stored on a separate local database. | ||
|
|
||
| ```{r depression model} | ||
| data2 <- read_csv("~/Documents/GIT/psypres/MDMAPTSD/data/data.csv") # for parker |
There was a problem hiding this comment.
Load depression data from a repository-relative path
This chunk hard-codes a user-specific absolute path (~/Documents/GIT/psypres/...) for the depression dataset, so knitting fails with a file-not-found error on any machine that does not mirror that local filesystem layout. Because the depression model depends on this file, the reproducibility guide cannot be rerun by other contributors or CI in its current form.
Useful? React with 👍 / 👎.
| The primary meta-analysis on continuous outcomes in the 6 studies included in the main model showed a statistically significant reduction in PTSD scores with MDMA treatment as compared to control conditions, with small between-study heterogeneity. | ||
|
|
||
| ```{r main continuous forest plot for indesign, include=FALSE} | ||
| quartz(type = "pdf", file = file.path(basedir, "analysis/mdmaptsd/paperfigs/fig2_mdmaptsd.pdf"), width = 14.3, height = 4.76) |
There was a problem hiding this comment.
Replace macOS-only graphics device with cross-platform output
Using quartz() makes rendering platform-dependent: on Linux/Windows, this call errors because the Quartz device is unavailable, and knitting stops at the first export chunk. Since this file is intended as a reproducible analysis workflow, the current device choice blocks execution for non-macOS environments.
Useful? React with 👍 / 👎.
Make sure to merge #60 first!