diff options
author | Pjotr Prins | 2023-03-17 13:32:34 +0100 |
---|---|---|
committer | Pjotr Prins | 2023-03-17 13:32:34 +0100 |
commit | 5bead374d1fb6f2c94cc2ddf96cbfdd5d930d714 (patch) | |
tree | 049deeed6fc5c2f51a33f29f770d5b35d27d2dec /features | |
parent | 5361ca0e1fbcf04cec76574b97aff162b8bd5e00 (diff) | |
download | gn-docs-5bead374d1fb6f2c94cc2ddf96cbfdd5d930d714.tar.gz |
Data structures
Diffstat (limited to 'features')
-rw-r--r-- | features/data-structures.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/features/data-structures.md b/features/data-structures.md index 2133a95..9898186 100644 --- a/features/data-structures.md +++ b/features/data-structures.md @@ -1,5 +1,27 @@ # Data structures + +* Species, e.g. 'Mouse', are split into groups, such as 'BXD bone studies' +* A group can contain multiple families (see rat below) divided into subgroups +* A trait, e.g. 'body weight' is a vector of data points the belongs to a study +* A genotype vector can be a trait +* A trait is always a member of group +* A trait is part of a study/sample described in metadata +* Theoretically traits can belong to multiple groups +* An attribute can be a trait +* An attribute can be a cofactor (also a vector) +* Attributes are editable by group owners +* We can have shared vocabulary for traits and attributes + +But + +* A trait is shown with attributes as cofactors +* A cofactor can be a trait +* A cofactor can be an attribute +* A cofactor is not stored in the database - it is an optional vector + +(cofactors and attributes and traits overlap) + ## Groups In GN datasets are organised in groups. On the main menu you can see @@ -33,6 +55,7 @@ MariaDB [db_webqtl]> select * from InbredSet limit 3; 3 rows in set (0.000 sec) ``` + ## What is a trait? A trait is a vector of floats or integers for a GROUP. Body weight |