Skip to content
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

plotIndiv(..., ind.names=FALSE) Warning: Removed N rows containing missing values (geom_point) #59

Closed
aljabadi opened this issue Mar 12, 2020 · 3 comments

Comments

@aljabadi
Copy link
Collaborator

aljabadi commented Mar 12, 2020

After upgrading to R 3.6.3, while the following works (with ind.names=TRUE)::

    data(nutrimouse)
    X <- nutrimouse$lipid
    Y <- nutrimouse$gene
    nutri.res <- rcc(X, Y, ncomp = 3, lambda1 = 0.064, lambda2 = 0.008)
    
    plotIndiv(nutri.res,  group = nutrimouse$genotype, ind.names = TRUE, legend = TRUE)

image

The following does not (with ind.names=FALSE):

    plotIndiv(nutri.res, group = nutrimouse$genotype, ind.names = FALSE, legend = TRUE)

Warning messages:
1: Removed 40 rows containing missing values (geom_point).
2: Removed 40 rows containing missing values (geom_point).
image

aljabadi added a commit that referenced this issue Mar 12, 2020
aljabadi added a commit that referenced this issue Mar 12, 2020
@guidohooiveld
Copy link

Just wanted to let you know that I faced this problem as well, and triggered by this recent discussion I updated mixOmics to the latest dev version ( v6.11.10). Problem was indeed solved.
G

@aljabadi
Copy link
Collaborator Author

Hi @guidohooiveld,
That's great. Thanks for your feedback.
I just merged the changes to master to push to bioC.

@aljabadi
Copy link
Collaborator Author

Resolved in 7d6ab52

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

No branches or pull requests

2 participants