Skip to content

MatrixEQTL.R

Ryan Schubert edited this page Feb 26, 2019 · 6 revisions

About

The bulk of this script consists of the MatrixEQTL package while the remainder is a lightweight wrapper and user options to interact more flexibly with this script. Please refer to the MatrixEQTL documentation for more information on how MatrixEQTL runs.

Important Options

Complete Options

      -sg or --snpgenotype
          file containing the sample genotypes for each snp
      -sl or --snplocaiton
          file containing the locations for each snp
      -ge or --geneexpression
          file containing genetic expression data for each sample
      -gl or --genelocation
          file containing the gene location data
      -t or --tag
          label for your output
      -o or --outputdir
          what directory would you like to output in
      --cis
          significance threshold to write out cis eQTLs. Default is 1.
      --cov
          file path to covariates file for MEQTL
      --trans
          Significance threshold to write out trans eQTLS. Default is 0.
      --window
          window to consider snps to be cis in. Any snp-gene pair found within the window will be considerd cis acting. Default is 1e6.

Defaults

By default the script outputs in the current working directory. default for cis maximum distance: 1e6 bp default threshold to write cis: pval <= 1 default threshold to write trans: pval <= 0

Clone this wiki locally