vGWAS: Perform voxelwise genome-wide association analysis.

Description Usage Arguments Value

View source: R/RImaGen-functions.r

Description

Checks for associations prepared SlicedData objects containing flattened image ROIs, genomic data and covariates. Wrapper for Matrix_eQTL_engine.

Usage

1
2
vGWAS(snpData, voxelData, cvrt, useModel, prescan,
  errorCovariance = numeric(), pvalue.hist = FALSE)

Arguments

snpData

SlicedData object containing selected SNPs.

voxelData

SlicedData object containing flat voxel ROIs.

cvrt

SlicedData objact containing covariates.

useModel

Regression model to use.

prescan

logical. TRUE for preliminary analysis allowing "winning SNP" ranking.

errorCovariance

numeric. The error covariance matrix. Use numeric() for homoskedastic independent errors.

pvalue.hist

logical, numeric or "qq-plot". Defines whether and how the distribution of p-values is recorded in the returned object. Set to FALSE for a faster analysis. To record information for a histogram set to the number of bins. To record information for a qq-plot, set to qq-plot. Use plot on the returned object.

Value

vGWAS results.


JakubBartoszewicz/RImaGen documentation built on May 8, 2017, 11:21 p.m.