compute_ss: Compute sufficient statistics for input to 'susie_suff_stat'

compute_ssR Documentation

Compute sufficient statistics for input to susie_suff_stat

Description

This is a synonym for compute_suff_stat included for historical reasons (deprecated).

Usage

compute_ss(X, y, standardize = FALSE)

Arguments

X

An n by p matrix of covariates.

y

An n vector.

standardize

Logical flag indicating whether to standardize columns of X to unit variance prior to computing summary data.

Value

A list of sufficient statistics (X'X, X'y, y'y and n)

Examples

data(N2finemapping)
ss = compute_ss(N2finemapping$X, N2finemapping$Y[,1])


susieR documentation built on March 7, 2023, 6:11 p.m.