diff options
author | Munyoki Kilyungi | 2023-11-30 13:03:30 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-11-30 13:03:30 +0300 |
commit | a850acb21152106a5c9351ee414c5f745998766e (patch) | |
tree | 564cb85d340c5d1e95e63fe2775800caff26d4f8 /examples | |
parent | 54ba0cc5e8ed477a0d98f6a35cad74115814e257 (diff) | |
download | gn-transform-databases-a850acb21152106a5c9351ee414c5f745998766e.tar.gz |
Replace LRS with LOD Score.
* examples/phenotype.scm (phenotypes): Replace gnt:LRS with
gnt:lodScore.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/phenotype.scm | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/examples/phenotype.scm b/examples/phenotype.scm index 4378809..8263ca9 100755 --- a/examples/phenotype.scm +++ b/examples/phenotype.scm @@ -33,11 +33,12 @@ (gnt:mean rdfs:subPropertyOf sdmx-measure:obsValue) (gnt:mean rdfs:domain gnc:Phenotype) (gnt:mean rdfs:range xsd:double) - (gnt:LRS a rdf:Property) - (gnt:LRS a qb:MeasureProperty) - (gnt:LRS rdfs:subPropertyOf sdmx-measure:obsValue) - (gnt:LRS rdfs:domain gnc:Phenotype) - (gnt:LRS rdfs:range xsd:double) + (gnt:lodScore a rdf:Property) + (gnt:lodScore a qb:MeasureProperty) + (gnt:lodScore rdfs:subPropertyOf sdmx-measure:obsValue) + (gnt:lodScore rdfs:domain gnc:Phenotype) + (gnt:lodScore rdfs:range xsd:double) + (gnt:lodScore skos:definition "Statistical measurement assessing the likelihood of genetic linkage between traits or genetic markers.") (gnt:locus a rdf:Property) (gnt:locus a qb:MeasureProperty) (gnt:locus rdfs:subPropertyOf sdmx-measure:obsValue) @@ -82,8 +83,8 @@ (set gnt:mean (annotate-field (field ("IFNULL(PublishXRef.mean, '')" mean)) '^^xsd:double)) (set gnt:locus (field PublishXRef Locus)) - (set gnt:LRS (annotate-field - (field ("IFNULL(PublishXRef.LRS, '')" lrs)) + (set gnt:lodScore (annotate-field + (field ("IFNULL((PublishXRef.LRS/4.604), '')" lrs)) '^^xsd:double)) (set gnt:additive (annotate-field (field ("IFNULL(PublishXRef.additive, '')" additive)) |