transform_rsid2chrpos_pro.Rd升级版:根据SNP匹配CHR和POS数据
transform_rsid2chrpos_pro(
file_path,
avsnpfile_dir,
out_path = "./",
out_prefix = "rsid2chrpos_"
)标准mr数据文件路径,数据中需要包含列名:SNP,effect_allele,other_allele,eaf,beta,se,pval,samplesize,chr,pos。
参考数据文件夹地址,请选择hg19或hg38参考基因组版本的注释文件夹
hg19注释文件:包含1-22、x、y、mt 注释数据
hg38注释文件:包含1-22、x、y、mt 注释数据
输出文件路径
输出文件前缀
匹配chrpos的数据
transform_rsid2chrpos_pro(
file_path ="./miss_chrpos.txt",
avsnpfile_dir="./hg19_avsnp150"
)