Learn R Programming

pleioh2g (version 0.1.0)

make_weights: Internal Function to make weights - refer to ldscr R package (https://github.com/mglev1n/ldscr)

Description

`make_weights()` Internal Function to make weights

Usage

make_weights(chi1, L2, wLD, N, M.tot)

Value

A numeric vector of initial LDSC weights for each SNP

Arguments

chi1

chi-square

L2

ld score

wLD

wld score

N

sample size

M.tot

Number of SNPs