gexijin / idepGolem

16 stars 11 forks source link

selection of PC number in x and y axis won't work in PCA 3D plot #593

Closed JianYes closed 8 months ago

JianYes commented 10 months ago

Describe the bug Selection of PC number in x and y axis won't work in PCA 3D plot, but works for z axis. For x and y axis, the PC numbers keep as 1 and 2 all the time. But for axis, the plot will change according to the selection of the PC number.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'iDEP1.12'
  2. Take default human species and load "2 groups; Human" demo data set
  3. Submit and go to PCA 3D sub tab
  4. See error

Expected behavior Is we change the PC number in x, y , and z axis, the plot should change according to the selection properly.

Screenshots image

Additional context

gexijin commented 8 months ago

PCAx, PCAy are reused in the same module, causing this problem. @EricTulowetzke Renamed to PCAx3d, PCAy3d, PCAz3d. Problem solved.