Description Usage Arguments Value Author(s) References See Also Examples
View source: R/GetWhitenedZscores.R
Get whitened Z-scores from a matrix of Z-scores (SNPs in rows, traits in columns) and a correlation matrix between traits.
1 | GetWhitenedZscores(ZscoreMatrix, ZscoreCorMatrix = NULL)
|
ZscoreMatrix |
data.frame of Z-scores with SNPs in rows and traits in columns. |
ZscoreCorMatrix |
data.frame of pairwise correlations between traits based on Z-scores. Usually computed using a pruned set of SNPs, see function 'GetCorrelationMatrix()'. If set to NULL, the full set of SNPs included in ZscoreMatrix is used. Default is NULL. |
ZscoreWhitenedMatrix |
data.frame of the same size as 'ZscoreMatrix' composed of whitened Z-scores. |
Marie Verbanck
Daniel Jordan*, Marie Verbanck* and Ron Do. HOPS: a quantitative score reveals pervasive horizontal pleiotropy in human genetic variation is driven by extreme polygenicity of human traits and diseases. Genome Biology 20, 222 (2019).
1 2 | data(UKBiobank_ZscoresSubset)
ZscoreMatrixWhitened_UKBB <- GetWhitenedZscores(ZscoreMatrix = ZscoreMatrix_UKBB, ZscoreCorMatrix = ZscoreCorMatrix_UKBB)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.