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

Error when using format_data #5

Open
xuj18 opened this issue Sep 13, 2024 · 2 comments
Open

Error when using format_data #5

xuj18 opened this issue Sep 13, 2024 · 2 comments

Comments

@xuj18
Copy link

xuj18 commented Sep 13, 2024

Dear Dr. Yang,

Sorry that I have another question regarding the format_data function in MR APSS.

When I was trying to run the script based on your tutorial, I got the error message as following:

AN_QC1 <- format_data(AN_raw, snp_col = "SNP", se_col = "SE", ncase_col = "Nca", ncontrol_col = "Nco", info_col = "INFO", A1_col = "A1", A2_col = "A2", b_col = "beta", freq_col = "FRQ_U_1243971", p_col = "P")

Error in format_data(AN_raw, snp_col = "SNP", se_col = "SE", ncase_col = "Nca", :
unused arguments (A1_col = "A1", A2_col = "A2", b_col = "beta", freq_col = "FRQ_U_1243971", p_col = "P")

I don't know why the A1_col, A2_col, b_col, freq_col and p_col are not recognized by the format_data function. I also double checked my summary statistic file to make sure the column names I specified here are all correct.

Any help would be appreciated. Thank you!

Best,
Jiayi

@hxh0928
Copy link
Collaborator

hxh0928 commented Sep 19, 2024 via email

@xuj18
Copy link
Author

xuj18 commented Sep 19, 2024 via email

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