set.tissue: Initialize specific tissue for eQTL input object

View source: R/input_eqtl.r

set.tissueR Documentation

Initialize specific tissue for eQTL input object

Description

Modifies the eQTL input object prepared by the process.eqtl.input() function, loading and initializing summary statistics for the specified tissue. Removes data loaded for previously loaded tissue (if any).

Usage

set.tissue(gwas.input, tissue)

Arguments

gwas.input

GWAS input object preprocessed using process.eqtl.input (object is modified by function).

tissue

Tissue to load summary statistics for.

Value

No return value, the gwas.input argument is modified in place. The following fields are changed

  • current.tissue - name of the currently loaded tissue

  • current.genes - vector of genes available for the currently loaded tissue

  • current.stats - summary statistics for the currently loaded tissue


josefin-werme/LAVA documentation built on July 4, 2024, 8:11 p.m.