From a850acb21152106a5c9351ee414c5f745998766e Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Thu, 30 Nov 2023 13:03:30 +0300 Subject: Replace LRS with LOD Score. * examples/phenotype.scm (phenotypes): Replace gnt:LRS with gnt:lodScore. Signed-off-by: Munyoki Kilyungi --- examples/phenotype.scm | 15 ++++++++------- 1 file 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)) -- cgit v1.2.3