-
Notifications
You must be signed in to change notification settings - Fork 7
TableInfo: subject_substance.tsv
mano-at-sdsc edited this page Oct 11, 2024
·
4 revisions
Association between a subject and a substance of interest
If populated, subject_substance.tsv
will contain one row for every subject linked to a PubChem substance experimentally associated with it. This field is meant to be used for clinical cases such as toxins, drugs, and any other use cases that tie a small number of substances to a subject.
All fields are required: this table can be empty (header-row only), but any non-header rows must leave no fields blank.
Some examples:
- If you don't have any subjects associated with substances, this table should be left empty.
- If you have exactly one substance of interest for each subject, this table will have the same number of rows as subject.tsv
- If you have two substances especially relevant to each subject, this table will have twice as many rows as subject.tsv
Field | Field Description | Required? | Field Value Type | Extra Info |
---|---|---|---|---|
subject_id_namespace | Identifier namespace for this subject [part 1 of 3-component composite primary key] | Required | string | This will be the value of id_namespace in the row in subject.tsv corresponding to the subject referenced in this row. If your program has not registered multiple CFDE identifier namespaces, this will be exactly the same value for all rows. |
subject_local_id | The ID of this subject [part 2 of 3-component composite primary key] | Required | string | This will be the value of local_id in the row in subject.tsv corresponding to the subject referenced in this row. |
substance | A PubChem substance ID (SID) describing this substance [part 3 of 3-component composite primary key] | Required | string | This must be a valid PubChem ID Example: 5381226
|
-
Tutorials
-
C2M2 Table Guide
-
Table Summary
- analysis_type.tsv
- anatomy.tsv
- assay_type.tsv
- biofluid.tsv
- biosample.tsv
- biosample_disease.tsv
- biosample_from_subject.tsv
- biosample_gene.tsv
- biosample_in_collection.tsv
- biosample_substance.tsv
- collection.tsv
- collection_anatomy.tsv
- collection_biofluid.tsv
- collection_compound.tsv
- collection_defined_by_project.tsv
- collection_disease.tsv
- collection_gene.tsv
- collection_in_collection.tsv
- collection_phenotype.tsv
- collection_protein.tsv
- collection_substance.tsv
- collection_taxonomy.tsv
- compound.tsv
- data_type.tsv
- dcc.tsv (formerly
primary_dcc_contact.tsv
- disease.tsv
- file.tsv
- file_describes_biosample.tsv
- file_describes_collection.tsv
- file_describes_subject.tsv
- file_format.tsv
- file_in_collection.tsv
- gene.tsv
- id_namespace.tsv
- ncbi_taxonomy.tsv
- phenotype.tsv
- phenotype_disease.tsv
- phenotype_gene.tsv
- project.tsv
- project_in_project.tsv
- protein.tsv
- protein_gene.tsv
- subject.tsv
- subject_disease.tsv
- subject_in_collection.tsv
- subject_phenotype.tsv
- subject_race.tsv
- subject_role_taxonomy.tsv
- subject_substance.tsv
- substance.tsv
- Reference Tables
-
Table Summary