fusion_prepare_sumstat.Rdfusion输入GWAS数据预处理
fusion_prepare_sumstat(file_path = "", out_path = "./", out_prefix = NULL)用于转换成.sumstats的输入文件,必须是mr分析的标准输入文件。可以是一个或者多个,数据中需要包含列名:SNP,effect_allele,other_allele,eaf,beta,se,pval,samplesize,chr,pos。
输出文件的路径
输出文件的前缀,默认为NULL。
返回输出文件路径。
fusion_prepare_sumstat(
file_path = "./data_prepare/finngen_R10_G6_MIGRAINE_treated.txt",
out_path = "./data_prepare/"
)