View source: R/make_plot_predlnor.R
predict_beta_sd | R Documentation |
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
predict_beta_sd(
dat = NULL,
beta = "beta",
se = "se",
eaf = "eaf",
sample_size = "ncontrol",
pval = "p"
)
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 |
data frame with predicted standardised beta, r2 and F stat statistics and estimated standard deviation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.