Adjust marker summary statistics using linkage disequilibrium information from Glist
Required input format for summary statistics:
stat can be a data.frame(rsids, chr, pos, a1, a2, af, b, seb, stat, p, n) (single trait)
stat can be a list(marker=(rsids, chr, pos, a1, a2, af), b, seb, stat, p, n) (multiple trait)
adjStat(
stat = NULL,
Glist = NULL,
chr = NULL,
statistics = "b",
r2 = 0.9,
ldSets = NULL,
threshold = 1,
header = NULL,
method = "pruning"
)
a data frame with marker summary statistics (see required format above)
list of information about genotype matrix stored on disk
chromosome(s) being processed
specificy what type of statistics ("b" or "z") is being processed (default is "b")
threshold used in clumping/pruning procedure (default is 0.9)
list of marker sets - names corresponds to row names in stat
p-value threshold used in clumping procedure (default is 1)
character vector with column names to be excluded in the LD adjustment
method used in adjustment for linkage disequilibrium (default is "clumping")
Peter Soerensen
stat can be a data.frame(rsids, chr, pos, a1, a2, af, b, seb, stat, p, n) (single trait)
stat can be a list(marker=(rsids, chr, pos, a1, a2, af), b, seb, stat, p, n) (multiple trait)