View source: R/perform_analysis.R
| perform_analysis | R Documentation |
'perform_analysis()' Internal function to perform LDSC heritability/covariance analysis
perform_analysis(n.blocks, n.snps, weighted.LD, weighted.chi, N.bar, m)
n.blocks |
Number of blocks |
n.snps |
Number of SNPs |
weighted.LD |
wld score |
weighted.chi |
chi-square |
N.bar |
Average N after merging |
m |
Number of SNPs from LD data |
A list containing the results of the LDSC heritability/covariance analysis with the following elements:
reg.tot: Estimated total heritability or covariance (regression coefficient scaled by m).
tot.se: Standard error of the total heritability/covariance estimate, computed using a block jackknife.
intercept: LDSC regression intercept.
intercept.se: Standard error of the intercept, estimated via block jackknife.
pseudo.values: Vector of pseudo-values from the block jackknife procedure, one per block.
N.bar: Average sample size across SNPs after merging.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.