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

unused argument with "gwas_merge" #19

Closed
wzxiao1217 opened this issue Jul 21, 2021 · 9 comments
Closed

unused argument with "gwas_merge" #19

wzxiao1217 opened this issue Jul 21, 2021 · 9 comments

Comments

@wzxiao1217
Copy link

Hi Jean,

I notice the latest example for gwas_merge add the argument "pval_cols", but when I apply the argument, then comes the error: unused argument...I am not sure whether the argument has been updated in the latest release version 1.2.0, or what I can do to fix the problem.

Many Thanks,
Zixiao

@jean997
Copy link
Owner

jean997 commented Jul 21, 2021

Hi Zixiao -- I just added the pval_cols argument in the latest version. You can install with devtools::install_github("jean997/cause"). There should be a note about that in the tutorial -- I will add it. Thanks!
Jean

@jean997 jean997 closed this as completed Jul 21, 2021
@wzxiao1217
Copy link
Author

Thanks, Jean. That's very helpful!

@Urban90
Copy link

Urban90 commented Jul 6, 2023

Although I have installed it through devtools::install_github("jean997/cause") I still get the same issue. Is there anything else I could do to fix the problem? Thank you.

@jean997
Copy link
Owner

jean997 commented Jul 6, 2023

can you check the version you have installed?

@Urban90
Copy link

Urban90 commented Jul 6, 2023

With packageVersion("cause") my output is 1.2.0

@jean997
Copy link
Owner

jean997 commented Jul 6, 2023

The pval_cols option was added in version 1.2.030 so you need to update to the latest version by re-installing with the install_github command.
(see Release Notes here: https://github.com/jean997/cause)

@Urban90
Copy link

Urban90 commented Jul 6, 2023

Thank you for your reply! However, I had used both devtools::install_github("jean997/cause") and devtools::install_github("jean997/cause") and devtools::install_github("jean997/cause@v1.2.0") and I still get the same error. Should I do something different? Thank you.

@jean997
Copy link
Owner

jean997 commented Jul 6, 2023

If you use devtools::install_github("jean997/cause") you will get the latest version. I haven't made a new release since that option was added so you have to use the latest version and not the release version. If you check sessionInfo() you should see that the version number for cause is 1.2.0.0335

@Urban90
Copy link

Urban90 commented Jul 7, 2023

Thank you! After I reinstalled "R" and "cause" it worked.

@jean997 jean997 mentioned this issue Oct 1, 2023
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