Study cases
I was doing the cases as in the website, when I noticed that they aren't run with the latest version of mixOmics.
The case I have trouble with is the sPLS
network(liver.spls, comp = 1:2, shape.node = c("rectangle", "rectangle"),
color.node = c("white", "pink"), color.edge = color.edge, threshold = 0.8)
Error in network(liver.spls, comp = 1:2, shape.node = c("rectangle", "rectangle"), :
unused argument (threshold = 0.8)
It only works when I remove the threshold parameter:
network(liver.spls, comp = 1:2, shape.node = c("rectangle", "rectangle"),
color.node = c("white", "pink"), color.edge = color.edge )
Maybe it would work better to run these cases as vignettes inside the package. That way the code and content will be up to date.
Comments (4)
-
reporter -
repo owner Thanks Lluis we will fix that on the website. Many things to do on our end and we running at a stretch.
There might be some convergence issue using perf, it depends on the random folds. I would not be worried though as this happened (here) twice in a 5 folds x 10 repeats = 50 runs and we average the results. I would be concerned however if that happened on a splsda() final model though (which is not the case here).
I am closing this issue.
-
repo owner - changed status to resolved
-
The argument Threshold was replaced by cutoff. so the spls command should be :
network(liver.spls, comp = 1:2, shape.node = c("rectangle", "rectangle"), color.node = c("white", "pink"), color.edge = color.edge, cutoff= 0.8 )
Regards Carine Ca
- Log in to comment
There is another tutorial that I'm having problems, it reports some warnings which make me doubt of the results