eqtl.min.p: basic eQTL interface

Description Usage Arguments Value See Also

View source: R/eqtl_lib.R

Description

Basic interface to obtain minimal P-values per gene from MatrixEQTL passing expression and covariate data in matrices, and genotypes as a file. The function uses eqtl.

Usage

1
eqtl.min.p(expr, ...)

Arguments

expr

expression values in a matrix ngene x nsample

covar

covariate values in a matrix ncovar x nsample

genotype_file_name

filename of a tab separated file with genotype dosage values (usually between 0 and 2) in a matrix nsnp x nsample

gene.position

data.frame with gene positions in the first 4 columns named "chrom", "start", "end", "gene_id"

snp.pos

data.frame with SNP positions in the first three columns named "snp_id", "chrom", "snp_pos"

id

character indicating an id used for tempfile creation

Value

the same output as the eqtl function

See Also

Other eqtl functions: eqtl.run, eqtl, myWaitForJobs, trans.qtl


matthiasheinig/eQTLpipeline documentation built on May 21, 2019, 1:16 p.m.