Skip to content

Error when using format_data #5

@xuj18

Description

@xuj18

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions