findemQTL-method: findemQTL

Description Usage Arguments Value Examples

Description

This function find the potential emQTL by correlation test.

Usage

1
2
findemQTL(met, exp, cors = 1, siteFile, qFlag = F,
  method = "pearson")

Arguments

met

a data.frame contains methylation percentation

exp

a data.frame contains gene and fpkm(or some others) The 1st column is the gene names and the last is chrom

cors

a numeric value of numbers of cores you wanna use. (default:1)

siteFile

a dataframe contains the CpG site info

qFlag

logical(default:F). Whether to use FDR correction.

method

whether "spearman" or "pearson

Value

a dataframe contains site location info and potential regulated gene and p-value(or qvalue in fact) and slope

Examples

1
2
3
data("ExampleemQTL")
res<-findemQTL(test[1:20,],chr5,cors = 4,siteFile = siteInfo)
res

ritianjiang/MethyAge2 documentation built on Dec. 3, 2019, 2:03 p.m.