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

ps_venn ran fine the first time and then get an error; ps_euler runs fine. #20

Open
lcamVz opened this issue Sep 20, 2022 · 6 comments
Open

Comments

@lcamVz
Copy link

lcamVz commented Sep 20, 2022

Hello

I get this error Error in drawVennDiagram(data = x, small = small, showSetLogicLabel = showSetLogicLabel, : gplots.drawVennDiagram: This internal function is used wrongly. Please call the function 'venn' with the same arguments, instead. What this could mean? ps_euler works fine and I am able to plot.

Thanks in advance.

@Russel88
Copy link
Owner

Hi

I have not seen that error before, and have no idea how it can arise. I would need a example dataset to test if I can reproduce the error.

Best,

@Russel88
Copy link
Owner

Closing due to no answer

@ricmedveterinario
Copy link

Hi @Russel88, thanks for sharing the package,

I got the same error with this ps_venn function,

Exactly the same error output:

Error in drawVennDiagram(data = x, small = small, showSetLogicLabel = showSetLogicLabel, :
gplots.drawVennDiagram: This internal function is used wrongly. Please call the 'venn' function with the same arguments instead.

I test with other banks, such as:

data(GlobalPatterns)
date(esophagus)
data(enterotype)
date(soilrep)

Provided at: https://joey711.github.io/phyloseq/Example-Data.html and always the same error appears,

It would be interesting if you provided practical examples,

Thanks,

@Russel88 Russel88 reopened this Jan 11, 2023
@Russel88
Copy link
Owner

Hmm, could it be a version problem. The following ran fine with MicEco 0.9.18 and eulerr 6.1.1:

library(phyloseq)
library(MicEco)
data(GlobalPatterns)

# Reduce the number of groups
ss <- sample_data(GlobalPatterns)
ss$SampleType <- ifelse(ss$SampleType %in% c("Soil", "Ocean"), as.character(ss$SampleType), "Others")
sample_data(GlobalPatterns) <- sample_data(ss)

# Plot
ps_venn(GlobalPatterns, group = "SampleType")

@ricmedveterinario
Copy link

@Russel88 my packages are in version:
MicEco 0.9.19 and eulerr 7.0.0.

Unfortunately, I ran the example as you demonstrated here and it gave the same error:

Error in drawVennDiagram(data = x, small = small, showSetLogicLabel = showSetLogicLabel, :
gplots.drawVennDiagram: This internal function is used wrongly. Please call the 'venn' function with the same arguments instead.

I believe that many people are going through and will have the same problem as me.

Could you provide us with a package update or other solution?. I found your package very interesting.

Thanks @Russel88,

@ricmedveterinario
Copy link

I find this package for building venn diagrams : https://github.com/dusadrian/venn, interesting, because it allows you to create larger venn graphs, with a greater number of groups,

Maybe in a future adaptation, it'll be cool.

Thanks @Russel88,

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

3 participants