VEuPathDB / lib-eda-subsetting

Provides Java interface to query and provide EDA data and metadata from a database
Apache License 2.0
0 stars 0 forks source link

Map - default variable for bubble markers in megastudy is super-slow - think about improving default variable configuration #44

Open bobular opened 10 months ago

bobular commented 10 months ago

Despite the work done in https://github.com/VEuPathDB/EdaDataService/pull/320 for https://github.com/VEuPathDB/EdaNewIssues/issues/690 it still seems to take a long time to calculate the all/all proportion for the megastudy's species variable.

The current choice of default variable is the "first compatible featured variable".

We need to think about either adding new variable annotations, or some other way to select default variables?

Perhaps we could add more featured variables but in bubble marker mode the client filters out variables with a lot of values. The problem there is that any such featured variables have to be "below" sample.species in the entity tree, or they'll be picked up by donut/bar markers as the new default. I think we really want to keep species default for those.

TBH there isn't an obvious choice for a default bubble marker mode. Especially variables with 100% coverage. There are some great choices for specialised questions, such as mortality rate, genotype prevalences etc.

Tricky...