VEuPathDB / EdaNewIssues

0 stars 0 forks source link

Bugs hit in scatterplot when "smooth mean with raw" selected #168

Closed danicahelb closed 2 years ago

danicahelb commented 2 years ago

in LLINEUP, i selected "Cluster as treated, dichotimized" = PBO LLIN. Then I tried to make the scatterplot indicated below. It displayed as expected, with some facets having no data. but when i selected "Smooth mean with raw" I got a 500 error.

image
danicahelb commented 2 years ago

This time, I did not filter the LLINEUP data. I tried to make a scatterplot of female non-anophiline count vs male non-anophiline count. "smooth mean with raw" option works. I then try to overlay "Cluster as treated, dichotimized". this works with raw, but not with smooth mean with raw:

image

adding the overlay shouldn't introduce nulls since there was no missing data for "Cluster as treated, dichotomized"

d-callan commented 2 years ago

this is happening when trying to apply loess smoothing to a very small number of highly skewed data points for one of the strata. i can look into catching the error and passing i along to the client like we usually do for other errors of a similar type. but i admit in this case im a little concerned none of the strata will end up actually working for loess anyhow.

d-callan commented 2 years ago

should be fixed in plot.data v1.4.8

danicahelb commented 2 years ago

i opened a related ticket VEuPathDB/web-eda#1029 this ticket seems fixed