Skip to content

Fixes to mint.block.(s)pls() and predict() functions#368

Open
david-hirst wants to merge 6 commits into
mixOmicsTeam:masterfrom
david-hirst:master
Open

Fixes to mint.block.(s)pls() and predict() functions#368
david-hirst wants to merge 6 commits into
mixOmicsTeam:masterfrom
david-hirst:master

Conversation

@david-hirst

Copy link
Copy Markdown

The following changes have been made to both mint.block.pls() and mint.block.spls() so that mint.block.(s)pls model objects can be used with the predict() function.

  • the indY value is returned
  • The Y block is now only returned with the X blocks (to be consistent with block.(s)pls() models
  • block weights are returned

Additionally, a change was made to the values of keepX and keepY returned by mint.block.spls(), as these were previously incorrect.

Finally, mint.block.spls and mint.block.pls objects are now treated by the predict() function as mint objects.

@david-hirst

Copy link
Copy Markdown
Author

a change was made to the values of keepX and keepY returned by mint.block.splsda(), as these were previously incorrect.

@david-hirst

Copy link
Copy Markdown
Author

I've now added 'block.(s)plsda' as a class for 'mint.block.(s)plsda' objects so that plotting functions work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant