TGCA.scan: Total genetic contribution assessment

Description Usage Arguments Value Note Author(s) References Examples

View source: R/TGCA.scan.R

Description

The function estimates the total genetic contribution of a series of SNPs.

Usage

1
TGCA.scan(zmat)

Arguments

zmat

A matrix of decorrelated Z-scores corresponding to M SNPs.

Value

A matrix of TGCA results for M SNPs with estimates, standard errors, and p-values of TGCA theta, pi0, pi-, pi+, mu-, mu+, sigma- ,and sigma+.

Note

you can also use this fuction to re-weight GWAS z-scores acorss multiple phenotypes by sample size and adjust their phenotypic correlation.

Author(s)

Ting Li, Xia Shen

References

Li, T., ..., Ning, Z. & Shen, X. Total genetic contribution assessment of the human genome. Submitted (2020).

Examples

1
2
3
4
5
6
7
8
## Not run: 
data(tgca)
decor <- TGCA.decorrelate(tstat, MAF, N)
idx <- which(MAF < 5e-4)
zmat <- decor$z.decorrelated[-idx,]
res <- TGCA.scan(zmat)

## End(Not run)

xiashen/TGCA documentation built on July 4, 2021, 3:50 p.m.