View source: R/analysis_functions.R
run.univ | R Documentation |
Tests the univariate local genetic signal (i.e. the local heritability) for all phenotypes.
run.univ(locus, phenos = NULL, var = F)
locus |
Locus object created using the the |
phenos |
Subset of phenotypes to analyse, and/or their order. If NULL, all phenotypes in the locus object will be analysed (in the order listed within the locus object) |
var |
Set to T to return variance estimate |
Data frame with the columns:
phen - analysed phenotypes
var - local genetic variance
h2.obs - observed local heritability
h2.latent - estimated local population heritability (only relevant for binary phenotypes; requires population prevalence to be specified in input info file)
p - p-values from the univariate test (F-test for continuous, Chi-sq for binary)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.