View source: R/input_processing.R
meta.analyse.locus | R Documentation |
Will combine all elements of the requested phenotypes using standard inverse variance weighting, allowing them to be analysed as a single phenotype via the multivariate analysis functions. Note that the univariate test cannot currently be applied to meta-analysed phenotypes, so please do that beforehand on each phenotype individually.
meta.analyse.locus(locus, meta.phenos)
locus |
Locus object defined using the |
meta.phenos |
Phenotypes you want to meta-analyse #' |
This function returns an object just like that process.locus
function, containing general locus info, the relevant processed sumstats, and info about the input phenotypes.
id - locus ID
chr/start/stop - locus coordinates
snps - list of locus SNPs
N.snps - number of SNPs
K - number of PCs
delta - PC projected joint SNP effects for each phenotype
sigma - sampling covariance matrix
omega - genetic covariance matrix
omega.cor - genetic correlation matrix
N - vector of average N across locus SNPs for each phenotype
phenos - phenotype IDs
binary - boolean vector indicating whether phentoypes are binary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.