Description Usage Arguments Value
Loads and prepares the data, runs preliminary (if necessary) and full analyses. Then visualises the results.
1 2 3 4 5 6 7 | performVGWAS(genePath, niiFiles, niiIDs, ref.imgPath, maskPath, subFactor,
top.range, covar = character(), errorCovariance = numeric(),
out.subFactor = subFactor, matPath = NULL, outPath = NULL,
force.snps = NULL, useModel = MatrixEQTL::modelLINEAR, log.cutoff = 4,
eff.no.tests = 275575, sampleSize = NULL, randomSample = FALSE,
visualise = TRUE, saveNIfTI = TRUE, uncut = TRUE,
mockPath.flatROIs = NULL, mockPath.pre = NULL)
|
genePath |
Path to a directory containing plink files with genomic data. |
niiFiles |
Paths to files containing imaging data. |
niiIDs |
Subject IDs for each image. Shuffle for permutation tests. |
ref.imgPath |
Path to a referance image. |
maskPath |
Path to an image mask. |
subFactor |
Downsampling factor. |
top.range |
Range of top SNPs to be analysed and visualised. |
covar |
Covariates matrix with subject IDs as column names. |
errorCovariance |
Covariance matrix for the error term. Set to |
out.subFactor |
Output images downsampling factor. Default: equal to |
matPath |
Path to convolution matrix for coregistration of results to the reference image. Set to |
outPath |
Path to output directory. |
force.snps |
|
useModel |
Regression model to use. |
log.cutoff |
Negative log p-value cutoff value for results visualisation. |
eff.no.tests |
Effective number of tests (SNPs) for p-value correction. |
sampleSize |
Subject sample size. |
randomSample |
|
visualise |
|
saveNIfTI |
|
uncut |
|
mockPath.flatROIs |
Path to input file with saved flatROIs object for vGWAS mocking. Mock parameters should match original parameters. Useful for registering results to different standard spaces and resolutions, selecting alternative SNPs for the full analysys, of using different genetic models. |
mockPath.pre |
Path to input file with saved preliminary analysis results object for vGWAS mocking. Mock parameters should match original parameters.
Useful for registering results to different standard spaces and resolutions, selecting alternative SNPs for the full analysis, or using different genetic models.
|
A list containing all the resulting statistical parametric maps.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.