-
Notifications
You must be signed in to change notification settings - Fork 10
Description
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