get_resid: Compute residuals for Z-scores

View source: R/get_resid.R

get_residR Documentation

Compute residuals for Z-scores

Description

The function runs a modified version of FOCUS's residual calculation

Usage

get_resid(zscores, swld, wcor)

Arguments

zscores

numeric, vector of Z-scores

swld

numeric, LD matrix

wcor

numeric, correlation matrix from estimate_cor

Value

residuals and residualized Z-scores


bhattacharya-a-bt/isoTWAS documentation built on Jan. 9, 2025, 10:25 p.m.