Hello,
I am doing a 3 block integration of longitudinal data using TimeOmics and have run into a problem with the plotLong() function on block (s)PLS models. When I try and run it on my built model I get the following error:
Error in `build_longer_spec()`:
! `cols` must select at least one column.
To investigate things further, I built a pairwise spls model on 2 of my blocks of data and ran into no issues.
To try and resolve the error myself I did some troubleshooting and it appears that the problem is originating from the getCluster() function. When I run getCluster() on my pairwise model (trim_spls) I get proper results but if I run it on the multi-block model (full_spls) there is a loss of information and molecule names are replaced with arbitrary number and block information is replaced with NA:
This issues causes the plotLong() function to fail as it relies on the getCluster() function to work properly.
I tried doing some troubleshooting on my end but can’t figure out what is causing things to go wonky or how to resolve this issue, just wanted to bring it to your attention.
I will cross-post this issue on the github, however, it seems that this forum is a bit more active.
Thanks,
John