Closed javier-gracia-tabuenca-tuni closed 5 months ago
i made the initial code only thing missing is to format the raw table
there is branch 23-analysis-codewas-viewer with some changes already move to the branch launch the app import test file https://github.com/FINNGEN/CohortOperationsViewer/blob/23-analysis-codewas-viewer/tests/testthat/testdata/codeWAS/eunomia_asthmaVSasthmaControls_CodeWASSqlite.zip navigate to 'codeWAS' menu
there is the raw table
this is rendered at this point in code https://github.com/FINNGEN/CohortOperationsViewer/blob/dfcb400041c536575dd611019e67f5cae5ae4c28/R/mod_CodeWASVisualisation.R#L102
TODO:
@mpreeve looking at the picture do you have more filters to add ?
for reference these are the filter in CohortDiagnostics for similar data
Columns in this order
Filters ,
Some column names had to be shortened, but otherwise this should be working now.
duplicate codes from timeCodeWas
replace module to visualize timeCodeWAS with a new module for visualize codeWAS
Visualization can take code from https://github.com/tbilab/meToolkit more info https://prod.tbilab.org/phewas_me_info/A_phewasME_in_depth_intro.html demo https://prod.tbilab.org/phewas_me/
Example of a zip with codeWAS data test_codeWAS.zip
it has 3 tables that may be used, these follow description similart to explained in https://prod.tbilab.org/phewas_me
i made these table to fit what the phewas_me may be using, these can change later, or we can make it to what we need