VEuPathDB / EdaNewIssues

0 stars 0 forks source link

overlay variable constraint questions #604

Open danicahelb opened 1 year ago

danicahelb commented 1 year ago

When i have a study where Sample entity hangs off of PRM entity, in the visualizations, if I select PRM variable(s) for my axis variable(s) I cannot use a Sample variable as an overlay. Does anyone know why? Is this new? @d-callan

image image image
danicahelb commented 1 year ago

i also cannot select any of the z-score variables as overlays. all of the selections here are in the PRM entity

image
danicahelb commented 1 year ago

i cannot select ANY continuous variables as the overlay, even without selecting any of the axis variables

image
moontrip commented 1 year ago

@danicahelb I may be wrong but I think that currently continuous variable (and gradient color map) is only available for Scatterplot Viz?

d-callan commented 1 year ago

The sample entity is constrained against in the original ex because if it's 1:many w it's parent, PRM, then it'd introduce duplicates across the axes. This is not a new constraint. Up until very recently we had no way to know whether entities were 1:1 or 1:many w their parent and had to assume they might be the latter. Recent changes to the workflow might make it possible for us to revisit this.

As for continuous overlays, DK is right that they are currently only available to scatter. It's possible that ongoing work for the standalone map might make it easier to change that as well. The floating charts in the SAM can take binned continuous overlay variables and we could consider doing the same in EDA.

moontrip commented 1 year ago

@d-callan Thank you for your confirmation 👍