pcsstools0.1.2 package

Tools for Regression Using Pre-Computed Summary Statistics

anova.pcsslm

ANOVA for linear models fit using PCSS

approx_and

Approximate a linear model for a series of logical AND statements

approx_conditional

Approximate the mean of Y conditional on X

approx_mult_prod

Approximate the covariance of a set of predictors and a product of res...

approx_or

Approximate a linear model for a series of logical OR statements

approx_prod_stats

Approximate summary statistics for a product of phenotypes and a set o...

approx_response_cov_recursive

Approximate the covariance of one response with an arbitrary product o...

calculate_lm

Calculate a linear model using PCSS

calculate_lm_combo

Calculate a linear model for a linear combination of responses

check_terms

Check that independent and dependent variables are accounted for throu...

extract_predictors

Extract independent variables from a formula

extract_response

Extract dependent variables from a formula as a string

get_pcor

Approximate the partial correlation of Y and Z given X

guess_response

Guess the function that is applied to a set of responses

make_permutations

List all permutations of a sequence of integers

model_and

Approximate a linear model for a series of logical AND statements usin...

model_combo

Model a linear combination of a set of phenotypes using PCSS

model_or

Approximate a linear model for a series of logical OR statements using...

model_prcomp

Model the principal component score of a set of phenotypes using PCSS

model_product

Approximate a linear model for a product using PCSS

model_singular

Model an individual phenotype using PCSS

new_predictor

Create an object of class "predictor"

new_predictor_binary

Shortcut to create a predictor object for a binary variable

new_predictor_normal

Shortcut to create a predictor object for a continuous variable

new_predictor_snp

Shortcut to create a predictor object for a SNP's minor allele counts

pcsslm

Approximate a linear model using PCSS

print.pcsslm

Print an object of class pcsslm

Defines functions to describe regression models using only pre-computed summary statistics (i.e. means, variances, and covariances) in place of individual participant data. Possible models include linear models for linear combinations, products, and logical combinations of phenotypes. Implements methods presented in Wolf et al. (2021) <doi:10.3389/fgene.2021.745901> Wolf et al. (2020) <doi:10.1142/9789811215636_0063> and Gasdaska et al. (2019) <doi:10.1142/9789813279827_0036>.

  • Maintainer: Jack Wolf
  • License: GPL (>= 3)
  • Last published: 2023-09-06