Description Usage Arguments Value
A function implementing LD score regression.
1 2 3 4 5 6 7 8 | est_paras(
dat1,
dat2,
trait1.name = "exposure",
trait2.name = "outcome",
h2.fix.intercept = F,
ldscore.dir = NULLL
)
|
dat1: |
formmated summary statistics for trait 1. |
dat2: |
formmated summary statistics for trait 2. |
trait1.name: |
specify the name of trait 1, default 'exposure'. |
trait2.name: |
specify the name of trait 2, default 'outcome'. |
h2.fix.intercept: |
whether to fix LD score regression intercept to 1, default 'FALSE'. |
ldscore.dir: |
specify the path to the LD score files. |
List with the following elements:
Homonised data set
the estimated residual covariance matrix of Z scores.
the estimated covariance matrix of background effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.