ohdsi-studies / PioneerWatchfulWaiting

This study is part of the joint PIONEER - EHDEN - OHDSI studyathon in March 2021, and aims to advance understanding of clinical management and outcomes of watchful waiting in prostate cancer.
Apache License 2.0
7 stars 18 forks source link

Time to event tab shows an empty plot #38

Closed MaximMoinat closed 3 years ago

MaximMoinat commented 3 years ago

image

Originally reported by Bertrand #34 .

bdemeulder commented 3 years ago

With the version from the master branch locally, I get the following: shiny app time to event 02062021

MaximMoinat commented 3 years ago

I am trying to find out what the issue is. So far, what I found is that the cohortTimeToEvent object in the PreMerged data contains the columns: image

while the code tries to subset columns n.censor and n.risk https://github.com/ohdsi-studies/PioneerWatchfulWaiting/blob/3b8257e5f45028a505d93cfc048a84a656f66a58/inst/shiny/PioneerWatchfulWaitingExplorer/server.R#L321

@Tsemharb Any idea? Do we expect that the study results contain these columns?

MaximMoinat commented 3 years ago

Same for the newest results (Task 4). There seem to be fields missing from the cohortTimeToEvent variable. @Tsemharb Could you comment?

bdemeulder commented 3 years ago

I guess we can close this as the new version does include the proper fields.