ManonMartin / limpca

https://manonmartin.github.io/limpca/
1 stars 2 forks source link

linePlot #13

Closed bgovaerts closed 1 year ago

bgovaerts commented 1 year ago

It seems that line plot does not support row names for the Y matrix which start with numbers. This is acceptable but there should be a clear error message...

Example

Y=matrix(rnorm(100),ncol=20) rownames(Y)=paste0(1:5,"X") plotLine(Y,rows=1:3)

Error in tidyr::pivot_longer(): ! Problem while evaluating all_of(mn_xy). Caused by error in all_of(): ! Can't subset elements that don't exist. ✖ Elements X1X, X2X, and X3X don't exist. Run rlang::last_error() to see where the error occurred.