Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #94 by replacing function getCovariateDataSubset #95

Merged
merged 1 commit into from
Oct 27, 2021
Merged

Conversation

MaximMoinat
Copy link
Collaborator

Fixes #94.

Somehow the function getCovariateDataSubset was misbehaving. This function was used in two places, where I added the subsetting logic directly.

NOTE: this removes the ability to retrieve results from DB storage. As far as I know we were not using this anyway, as we read all premerged results from an .Rdata file.

@MaximMoinat
Copy link
Collaborator Author

MaximMoinat commented Oct 27, 2021

@bdemeulder With the latest results data (9 data sources), I do still get warnings from data.tables. I think because of the sheer size of the data. But at least the issue of duplication of demographics data should be solved with this fix.

@bdemeulder
Copy link
Collaborator

bdemeulder commented Oct 27, 2021

I get the following error in the cohort characteriazation tab. The numbers have changed though, (from close to 60M rows down to 550K rows), so I guess your fix did that.
image

@MaximMoinat
Copy link
Collaborator Author

@bdemeulder Indeed. It seems there are two issues, one on the shiny side and one on the data side. This PR only fixed the shiny side of things

Copy link
Collaborator

@bdemeulder bdemeulder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fix works when combined with a newly generated preMerge data from datasets that have the same covariate table

@bdemeulder bdemeulder merged commit 607b3d4 into master Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error in Cohort Characterization tab
2 participants