predict_beta_sd: Predicted standardised beta

View source: R/make_plot_predlnor.R

predict_beta_sdR Documentation

Predicted standardised beta

Description

Predict the standardised beta using sample sise, Z score and minor allele frequency. Returns the predicted standardised beta, proportion of phenotypic variance explained by the SNP (r2) and F statistic for each SNP

Usage

predict_beta_sd(
  dat = NULL,
  beta = "beta",
  se = "se",
  eaf = "eaf",
  sample_size = "ncontrol",
  pval = "p"
)

Arguments

dat

the outcome dataset of interest

beta

the effect size column

se

the standard error column

eaf

the effect allele frequency column

sample_size

the sample size column

pval

name of the p value column

Value

data frame with predicted standardised beta, r2 and F stat statistics and estimated standard deviation


MRCIEU/mrQC documentation built on May 6, 2023, 1:40 p.m.