Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example datasets for bep036 #465

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions pheno001/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# BEP036 example dataset 01: One session with imaging and phenotypic data

This dataset contains imaging and phenotypic data from a single session. Phenotype and imaging data were collected at the same session. The file tree is as follows:

```bash
pheno001
|-- README.md
|-- participants.json
|-- participants.tsv
|-- phenotype
| |-- ace.json
| |-- ace.tsv
| |-- demographics.json
| `-- demographics.tsv
|-- sub-01
| `-- anat
| |-- sub-01_T1w.json
| `-- sub-01_T1w.nii.gz
`-- sub-02
`-- anat
|-- sub-02_T1w.json
`-- sub-02_T1w.nii.gz

6 directories, 11 files

```

**NOTE**: There is no sessions file in this dataset since both phenotype and imaging data were collected at the same single session.
37 changes: 37 additions & 0 deletions pheno001/participants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"participant_id": {
"Description": "OpenNeuro ID of the subject."
},
"sex": {
"Description": "Sex assigned at birth.",
"Levels": {
"m": "Male",
"f": "Female"
}
},
"age_at_visit": {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"age_at_visit": {
"age": {

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case, age_at_visit would be the same as age and that's the reason I changed it to age_at_visit.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's still fine to keep as age, but I would let @SamGuay and/or @surchs be the tie-breakers.

"Description": "Age of the participant.",
"Units": "years"
},
"MRI": {
"Description": "Does the participant have an MRI?",
"Levels": {
"1": "Yes",
"0": "No"
}
},
"ace": {
"Description": "Does the participant have Adverse Childhood Experience (ACE) survey data?",
"Levels": {
"1": "Yes",
"0": "No"
}
},
"demographics": {
"Description": "Does the participant have demographics survey data?",
"Levels": {
"1": "Yes",
"0": "No"
}
}
}
3 changes: 3 additions & 0 deletions pheno001/participants.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
participant_id sex age_at_visit MRI ace demographics

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
participant_id sex age_at_visit MRI ace demographics
participant_id sex age MRI ace demographics

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as previous comment

sub-01 m 22 1 1 1
sub-02 f 63 1 1 1
92 changes: 92 additions & 0 deletions pheno001/phenotype/ace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
{
"participant_id": {
"Description": "OpenNeuro ID of the subject."
},
"session_id": {
"Description": "ID assigned to participant's visit.",
"Levels": {
"baseline": "First in-person visit.",
"followup": "Second in-person visit."
}
},
"b_ace_q1": {
"LongName": "ACE_HUMILIATE_HURT (question ID 176435)",
"Description": "1. Did a parent or other adult in the household often swear at you, insult you, put you down, or humiliate you, or act in a way that made you afraid that you might be physically hurt?",
"Levels": {
"1": "Yes",
"0": "No"
}
},
"b_ace_q2": {
"LongName": "ACE_INJURE (question ID 176436)",
"Description": "2. Did a parent or other adult in the household often push, grab, slap, or throw something at you or ever hit you so hard that you had marks or were injured? ",
"Levels": {
"1": "Yes",
"0": "No"
}
},
"b_ace_q3": {
"LongName": "ACE_TOUCH_SEX_WAY (question ID 176437)",
"Description": "3. Did an adult or person at least 5 years older than you ever touch or fondle you or have you touch their body in a sexual way or try to or actually have oral, anal, or vaginal sex with you? ",
"Levels": {
"1": "Yes",
"0": "No"
}
},
"b_ace_q4": {
"LongName": "ACE_NO_LOVE_SUPPORT (question ID 176438)",
"Description": "4. Did you often feel that no one in your family loved you or thought you were important or special or your family didn't look out for each other, feel close to each other, or support each other? ",
"Levels": {
"1": "Yes",
"0": "No"
}
},
"b_ace_q5": {
"LongName": "ACE_PROTECT_CARE (question ID 176439)",
"Description": "5. Did you often feel that you didn't have enough to eat, had to wear dirty clothes, and had no one to protect you or your parents were too drunk or high to take care of you or take you to the doctor if you needed it?",
"Levels": {
"1": "Yes",
"0": "No"
}
},
"tesi_s_165": {
"LongName": "ACE_SEPARATE_DIVORCE (question ID 176440)",
"Description": "6. Were your parents ever separated or divorced?",
"Levels": {
"1": "Yes",
"0": "No"
}
},
"b_ace_q7": {
"LongName": "ACE_MOTHER_HURT (question ID 176441)",
"Description": "7. Was your mother or stepmother: Often pushed, grabbed, slapped, or had something thrown at her? or sometimes or often kicked, bitten, hit with a fist, or hit with something hard? or ever repeatedly hit over at least a few minutes or threatened with a gun or knife? ",
"Levels": {
"1": "Yes",
"0": "No"
}
},
"b_ace_q8": {
"LongName": "ACE_LIVE_ALCOHOL_DRUGS (question ID 176442)",
"Description": "8. Did you live with anyone who was a problem drinker or alcoholic or who used street drugs? ",
"Levels": {
"1": "Yes",
"0": "No"
}
},
"b_ace_q9": {
"LongName": "ACE_HOUSEHOLD_DEPRESS (question ID 176443)",
"Description": "9. Was a household member depressed or mentally ill or did a household member attempt suicide? ",
"Levels": {
"1": "Yes",
"0": "No"
}
},
"ceahd15": {
"LongName": "ACE_HOUSEHOLD_PRISON (question ID 176444)",
"Description": "10. Did a household member go to prison?",
"Levels": {
"1": "Yes",
"0": "No"
}
}
}
3 changes: 3 additions & 0 deletions pheno001/phenotype/ace.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
participant_id b_ace_q1 b_ace_q2 b_ace_q3 b_ace_q4 b_ace_q5 tesi_s_165 b_ace_q7 b_ace_q8 b_ace_q9 ceahd15
sub-01 0 0 0 0 0 0 1 0 0 0
sub-02 0 0 0 0 0 0 0 0 0 0
64 changes: 64 additions & 0 deletions pheno001/phenotype/demographics.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"participant_id": {
"Description": "OpenNeuro ID of the subject."
},
"session_id": {
"Description": "ID assigned to participant's visit.",
"Levels": {
"onlineScreening": "First online screening visit.",
"onlineFollowup": "Online follow-up visit after 1 year of first in-person visit."
}
},
"gender": {
"Description": "2. What sex were you assigned at birth, on your original birth certificate?",
"Levels": {
"m": "Male",
"f": "Female"
}
},
"race": {
"LongName": "RACE_1, first endorsement",
"Description": "5. Race: (Check all that apply)",
"Levels": {
"1": "American Indian/Alaska Native",
"2": "Asian",
"3": "Hawaiian/Pacific Islander",
"4": "Black/African American",
"5": "White/Caucasian",
"6": "Multiple race",
"7": "Unknown"
}
},
"ethnicity": {
"LongName": "ETHNICITY_1 (question ID 140032)",
"Description": "6. Ethnicity:",
"Levels": {
"0": "Not Hispanic or Latino",
"1": "Hispanic or Latino",
"2": "Unknown"
}
},
"education": {
"LongName": "EDUCATION (question ID 58226)",
"Description": "10. Education level:",
"Levels": {
"0": "High school graduate or above",
"1": "Some college or above",
"2": "Associates degree or above",
"3": "Bachelors degree or above",
"4": "Advanced/professional degree"
}
},
"marital_status": {
"LongName": "MARITAL_STATUS (question ID 7171)",
"Description": "11. Marital Status:",
"Levels": {
"1": "Single/Never married",
"2": "Married or living with someone as if married",
"3": "Divorced or annulled",
"4": "Separated",
"5": "Widowed",
"6": "Other"
}
}
}
3 changes: 3 additions & 0 deletions pheno001/phenotype/demographics.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
participant_id gender race ethnicity education marital_status
sub-01 m 3 0 4 1
sub-02 f 6 0 3 2
Empty file.
Empty file.
Empty file.
Empty file.
38 changes: 38 additions & 0 deletions pheno002/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# BEP036 example dataset 02: two sessions, one imaging-only session

This dataset has two sessions but only the first session includes both phenotype and imaging data. The second session only contains imaging data. The file tree is as follows:

```bash
pheno002
|-- README.md
|-- participants.json
|-- participants.tsv
|-- phenotype
| |-- ace.json
| |-- ace.tsv
| |-- demographics.json
| `-- demographics.tsv
|-- sessions.json
|-- sessions.tsv
|-- sub-01
| |-- ses-01
| | `-- anat
| | |-- sub-01_ses-01_T1w.json
| | `-- sub-01_ses-01_T1w.nii.gz
| `-- ses-02
| `-- anat
| |-- sub-01_ses-02_T1w.json
| `-- sub-01_ses-02_T1w.nii.gz
`-- sub-02
|-- ses-01
| `-- anat
| |-- sub-02_ses-01_T1w.json
| `-- sub-02_ses-01_T1w.nii.gz
`-- ses-02
`-- anat
|-- sub-02_ses-02_T1w.json
`-- sub-02_ses-02_T1w.nii.gz

12 directories, 17 files

```
37 changes: 37 additions & 0 deletions pheno002/participants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"participant_id": {
"Description": "OpenNeuro ID of the subject."
},
"sex": {
"Description": "Sex assigned at birth.",
"Levels": {
"m": "Male",
"f": "Female"
}
},
"age": {
"Description": "Age of the participant.",
"Units": "years"
},
"MRI": {
"Description": "Does the participant have an MRI?",
"Levels": {
"1": "Yes",
"0": "No"
}
},
"ace": {
"Description": "Does the participant have Adverse Childhood Experience (ACE) survey data?",
"Levels": {
"1": "Yes",
"0": "No"
}
},
"demographics": {
"Description": "Does the participant have demographics survey data?",
"Levels": {
"1": "Yes",
"0": "No"
}
}
}
3 changes: 3 additions & 0 deletions pheno002/participants.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
participant_id sex age MRI ace demographics
sub-01 m 22 1 1 1
sub-02 f 63 1 1 1
Loading
Loading