View source: R/compute_methQTL.R
doMethQTLChromosome | R Documentation |
This functions computes the methQTL interactions for a single chromosome
doMethQTLChromosome(
meth.qtl,
chrom,
sel.covariates = NULL,
p.val.cutoff = 1e-05,
out.dir = NULL,
ncores = 1
)
meth.qtl |
An Object of type |
chrom |
Character vector represeting the chromosome to be investigated. |
sel.covariates |
Covariates as column names of the sample annotation sheet stored in |
p.val.cutoff |
The p-value used for methQTL calling |
out.dir |
Optional argument specifying the output directory |
ncores |
The number of cores to be used |
A data frame with seven columns:
The CpG ID chosen to be the representative CpG in the methQTL
The SNP ID (as rsNNNNNN) involved in the methQTL
The coefficient estimate of the linear model
The p-value associated with the coefficient estimate
The chromosome name
The genomic position of the CpG
The genomic position of the SNP
The distance between the CpG and the SNP
Michael Scherer
doMethQTL
meth.qtl <- loadMethQTLInput(system.file("extdata","reduced_methQTL",package="MAGAR"))
meth.qtl.res <- doMethQTLChromosome(meth.qtl,chrom="chr18",p.val.cutoff=0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.