Welcome to the USYD Meta Lab! This wiki is your comprehensive guide to the lab’s procedures, tools, best practices, and resources. Please bookmark this and refer to it regularly. Updates will be announced in Teams.
MetaLab
includes templates and tools.install.packages("devtools")
devtools::install_github("usyd-meta-lab/MetaLab")
Each project should follow this structure:
Project_Name/
├── README.md
├── experiments/
│ └── example-experiment/
│ ├── design/
│ ├── stimuli/
│ ├── scripts/
│ ├── data/
│ │ ├── metadata/
│ │ ├── processed/
│ │ └── raw/
│ ├── analysis/
│ ├── code/
│ └── notes.md
├── manuscripts/
├── reports/
├── preregistration/
└── presentations/
Use the lab's R packageMetaLab::create_MetaLab_project(project_name, experiment_nam, directory)
to auto-create this structure in your chosen directory.
index.html
assets/js/experiment.js
assets/js/survey.js
assets/js/global.js
assets/csss/custom-css.css
assets/img
trial_type
, blocknum
, trialnum
, correct
, confidence
, participant_ID
, source
.Data flow: jsPsych → DataPipe → OSF → Lab R cleaning script → analysis.
01_cleaning.R
: Import and clean data.02_analysis.R
: Statistical analyses and plotting.Last updated: May 2025