se_adjust.Rd
se_adjust
is a function which allows the user to obtain approximate
standard errors of adjusted association estimates, by means of parametric
bootstrapping. Standard errors can be evaluated for estimates which have been
corrected with the Empirical Bayes method, FDR Inverse Quantile
Transformation method or the bootstrap method. Note that in comparison to the
other functions in this package, this function can be computationally
intensive and take a several minutes to run, depending on the size of the
data set, the method and the number of bootstraps chosen.
se_adjust(summary_data, method, n_boot = 100)
A data frame containing summary statistics from the
discovery GWAS. It must have three columns with column names rsid
,
beta
and se
, respectively, and columns beta
and
se
must contain numerical values. Each row must correspond to a
unique SNP, identified by rsid
.
A string specifying the function to be implemented on each of
the bootstrap samples. It should take the form "BR_ss"
,
"empirical_bayes"
or "FDR_IQT"
.
A numerical value which determines the number of bootstrap
repetitions to be used. it must be greater than 1. The default value is
100
.
A data frame which combines the output of the chosen method with an
additional column, namely adj_se
. This column provides the standard
errors of the adjusted association estimates for each SNP.
empirical_bayes
, BR_ss
and
FDR_IQT
for details on operation of these methods with
summary statistics from discovery GWAS.
https://amandaforde.github.io/winnerscurse/articles/standard_errors_confidence_intervals.html
for illustration of the use of se_adjust
with a toy data set and
further information regarding the manner in which the standard errors are
computed.