coloc_select_region_qtls.Rd在进行Qtls-gwas数据共定位分析之前,需要根据基因的位置选择共定位区域选择
coloc_select_region_qtls(
gene_chr = 1,
gene_start = 0,
gene_end = 0,
up_num = 1e+06,
down_num = 1e+06,
out_path = "./",
out_prefix = ""
)染色体
基因起始位置
基因结束位置
指定顺式区域的范围,一般默认是基因区域的上下游1mb(1e6)碱基范围。
指定顺式区域的范围,一般默认是基因区域的上下游1mb(1e6)碱基范围。
指定输出文件的目录
指定输出文件前缀
共定位区域
temp <- Ensembl_GRCh38[Ensembl_GRCh38$gene_name=="GCKR" ,]
coloc_select_region_qtls(
gene_chr = temp$seqnames,
gene_start = temp$start,
gene_end = temp$end,
up_num =1e6,
down_num = 1e6,
out_path = "./",
out_prefix = "qtls_GCKR"
)