-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add background.predict support for mint.splsda #24
Labels
enhancement-request
New feature or request
Comments
I find the same error in |
Closed
Closed
Merged
Max-Bladen
added a commit
that referenced
this issue
Dec 13, 2022
enhance: adding the functionality required in `plotIndiv.mint.pls()` in order to handle and use output from `background.predict()`. Involves adding parameter and correctly adjusting limits of plot to accommodate polygons enhance: moved the definitions of global attributes `scaled:center` and `scaled:scale` out of `else` statement prevent it's usage fix: adjust minor error in previous commit. extremes of background polygons is now correctly calculated enhance: copied code segment used by this function and added it to `style == "ggplot2-MINT"` docs: SemVer updated and `plotIndiv()` documentation updated test: add test for `plotIndiv` on MINT object with background. maintains coverage
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
trying to perform this:
I get the following error:
I tried to debug it and found out that the mean_centering_per_study function expects "scaled:center" and "scaled"scale" attributes in res$ind.mat which in MINT case have different names and are on a per-study basis: mean:[study-index] and sigma:[study-index]. I was thinking maybe defining a pre-study max.dist and take the max of those for membership would be a good idea but I wasn't sure and the code is a bit hard to follow without comments. Would appreciate if you could add it to the mixOmics.
The text was updated successfully, but these errors were encountered: