plot_me_eQTLs: plot_me_eQTLs

Description Usage Arguments Examples

View source: R/plot_me_eQTLs.R

Description

This function will draw combined plots inclduing me_eQTLs, eQTL and meQTL for snp_cpg_gene combinations list

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_me_eQTLs(
  snp_cpg_gene,
  file_edata,
  file_gdata,
  file_mdata,
  file_tss_loci,
  file_snp_loci,
  file_res,
  name
)

Arguments

snp_cpg_gene

vector of snp_cpg_gene comination

file_edata

path to edata file

file_gdata

path to gdata file

file_mdata

path to mdata file

file_tss_loci

path to TSS bed file

file_snp_loci

path to SNP bed file

file_res

path to me_eqtl_res.Rdata

name

output plot file name prefix

Examples

1
2
snp_cpg_gene <- c("rs28520918_chr6:31402506_POU5F1", "rs1039750_chr11:94603277_SESN3")
plot_me_eQTLs(snp_cpg_gene, file_edata, file_gdata, file_mdata, file_snp_loci, file_res, "me_eQTLs_test")

yzeng-lol/meeqtl documentation built on Dec. 23, 2021, 9:10 p.m.