-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MODEL] Update data model to include longitudinal pheno data when ses…
…sions exist in TSV (#250) * add + test example inputs with no session ID * Our first attempt at handling longitudinal pheno * Refactored tests for phenotypic sessions Co-authored-by: Alyssa Dai <[email protected]> Co-authored-by: sam-gregz <[email protected]> Co-authored-by: Renee He <[email protected]> Co-authored-by: nagatv11 <[email protected]> * Update neurobagel examples Co-authored-by: Alyssa Dai <[email protected]> Co-authored-by: sam-gregz <[email protected]> Co-authored-by: Renee He <[email protected]> Co-authored-by: nagatv11 <[email protected]> * Fix comments Co-authored-by: Sebastian Urchs <[email protected]> --------- Co-authored-by: Sebastian Urchs <[email protected]> Co-authored-by: sam-gregz <[email protected]> Co-authored-by: Renee He <[email protected]> Co-authored-by: nagatv11 <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Sebastian Urchs <[email protected]>
- Loading branch information
1 parent
a8369a6
commit e06a440
Showing
8 changed files
with
190 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"participant_id": { | ||
"Description": "A participant ID", | ||
"Annotations": { | ||
"IsAbout": { | ||
"TermURL": "nb:ParticipantID", | ||
"Label": "Unique participant identifier" | ||
}, | ||
"Identifies": "participant" | ||
} | ||
}, | ||
"group": { | ||
"Description": "Group variable", | ||
"Levels": { | ||
"PAT": "Patient", | ||
"CTRL": "Control subject" | ||
}, | ||
"Annotations": { | ||
"IsAbout": { | ||
"TermURL": "nb:Diagnosis", | ||
"Label": "Diagnosis" | ||
}, | ||
"Levels": { | ||
"PAT": { | ||
"TermURL": "snomed:49049000", | ||
"Label": "Parkinson's disease" | ||
}, | ||
"CTRL": { | ||
"TermURL": "ncit:C94342", | ||
"Label": "Healthy Control" | ||
} | ||
} | ||
} | ||
}, | ||
"sex": { | ||
"Description": "Sex variable", | ||
"Levels": { | ||
"M": "Male", | ||
"F": "Female" | ||
}, | ||
"Annotations": { | ||
"IsAbout": { | ||
"TermURL": "nb:Sex", | ||
"Label": "Sex" | ||
}, | ||
"Levels": { | ||
"M": { | ||
"TermURL": "snomed:248153007", | ||
"Label": "Male" | ||
}, | ||
"F": { | ||
"TermURL": "snomed:248152002", | ||
"Label": "Female" | ||
} | ||
} | ||
} | ||
}, | ||
"participant_age": { | ||
"Description": "Age of the participant", | ||
"Annotations": { | ||
"IsAbout": { | ||
"TermURL": "nb:Age", | ||
"Label": "Chronological age" | ||
}, | ||
"Transformation": { | ||
"TermURL": "nb:FromISO8601", | ||
"Label": "A period of time defined according to the ISO8601 standard" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
participant_id group sex participant_age | ||
sub-01 PAT M P20Y6M | ||
sub-01 PAT M P20Y8M | ||
sub-02 CTRL F P25Y8M | ||
sub-02 CTRL F P26Y4M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule neurobagel_examples
updated
2 files
+232 −73 | data-upload/example_synthetic.jsonld | |
+303 −154 | data-upload/pheno-bids-output/example_synthetic_pheno-bids.jsonld |