append_col_Fvalue.Rd增加列,计算F值及R2
append_col_Fvalue(
file_path = "",
samplesize = NULL,
method = "all",
out_path = "./",
out_prefix = "Fval"
)用于计算F值的文件地址
样本量,如果输入文件中缺少samplesize或者samplesize.exposure对应列数据,需提供样本量信息
用于计算F值的方法,填写1、2、3或者all,默认为all。
输出文件的路径
输出文件的前缀
添加F和R2数据
append_col_Fvalue(file_path = "F:/data_clean/eQTLgen1_MRinput_filtered_1e3/eqtl-a-ENSG00000269925-1e-3-filtered.txt")
append_col_Fvalue(file_path = "d:/MR/AF/mr_results_2023_11_28/decode2021/table_s1_harmonise_data.csv")