AskMendel/UI Concepts

02 Jan 2024 - 03 Jan 2024
Open in Logseq
      • Show me samples from other patients with image.png
      • Show me male patients from non-control groups that have an FPKM measurement greater than .7 for EGFR.
      • image.png
      • {:find ((pull ?subject1) ?age1 (pull ?treatment-regimen1) ?fpkm1), :where ([?dataset1 :dataset/subjects ?subject1] [?dataset1 :dataset/name "MONK"] [?subject1 :subject/sex :subject.sex/male] [?subject1 :subject/age ?age1] [(> ?age1 50)] [?therapy1 :therapy/treatment-regimen ?treatment-regimen1] [?subject1 :subject/therapies ?therapy1] [?measurement1 :measurement/sample ?sample1] [?measurement1 :measurement/fpkm ?fpkm1] [(> ?fpkm1 0.7)] [?measurement1 :measurement/gene-product ?gene-product1] [?gene-product1 :gene-product/gene ?gene1] [?gene1 :gene/hgnc-symbol "EGFR"] [?sample1 :sample/subject ?subject1])}
    • Imagine as parallel views, with data underneath.
    • How to convey the liveness of the data (well, render as links at least). Ooh, it could insert text into the NL pane, where you could compose sentence around it. "Tell me about ...." "Show me samples from ..."