View source: R/read_gcta_hsq.R
read_gcta_hsq | R Documentation |
Parses the output generated by GCTA with option --reml
(heritability estimation).
Returned table has column names standardized for convenience.
Validated with GCTA version 1.93.2 beta.
read_gcta_hsq(file, ext = "hsq", verbose = TRUE)
file |
The file path to read, possibly missing the extension. |
ext |
The expected file extension.
Set to |
verbose |
If |
A list containing these named elements:
herit
: the estimated heritability.
se
: the standard error of the heritability estimate.
data
: the full table of variance component estimates and other miscelaneous info.
gcta_reml()
wrapper for executing GCTA REML and reading the results.
## Not run:
obj <- read_gcta_hsq( file )
obj$herit
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.