-
-
Notifications
You must be signed in to change notification settings - Fork 845
Description
Describe the bug
In the Plots (Beta) tab, samples containing a + character in their Sample ID (e.g., LSP15340_Scan1-003-PanCK+) are being excluded from the visualization when intersecting data profiles. While the Clinical Data tab correctly identifies 96 samples for the selected filters, the Plots tab only picks up 67 samples, seemingly dropping those with the special character.
To Reproduce
Steps to reproduce the behavior:
- Go to the Ovarian Cancer (Gray Foundation, 2024) study page.
- Filter ROI Types to Epithelial and Lesion Types to STIC.C (Observe: 96 samples are shown in the clinical table).
- Click on the Plots (Beta!) tab.
- Set Horizontal Axis to: CyCIF - Cell Type Fractions -> PanCK+.
- Set Vertical Axis to: mRNA-Seq Expression GeoMx -> Gene MEX3A.
- See error: The message "Showing 67 samples with data in both profiles" appears, and samples like LSP15340_Scan1-003-PanCK+ are missing from the plot.
Expected behavior
The plot should include all 96 samples that have data in both profiles. The presence of a + in the sample ID or fraction name should not cause the sample to be filtered out during the data merge.
Screenshots
Additional context
We suspect this is a string-handling or URL-encoding issue where the + sign is not being properly escaped, preventing the frontend from matching the sample IDs across the different data types (CyCIF vs mRNA).