Example multi-context QtlSumStats (S4) for mash demos
Source:R/exampleData.R
qtl_sumstats_multicontext_example.RdA QtlSumStats collection covering one trait
("ENSG_example") across three synthetic contexts (brain,
blood, muscle) on the same toy PLINK1 panel used by
qtl_sumstats_example. The signal pattern is wired for
mash pattern recovery: one variant is causal in all three contexts
(the shared eQTL), one is brain-only, one is blood-only, and muscle
carries only the shared signal. Per-variant BETA, SE,
Z, N, and MAF are populated, so the bundle
works with both inputScale = "beta" (the default) and
inputScale = "z" paths through mashPipeline.
Format
A QtlSumStats S4 collection with three rows (one per
context) backed by GRanges of 200 chr22 variants each.
Examples
data(qtl_sumstats_multicontext_example)
qtl_sumstats_multicontext_example
#> QtlSumStats: 3 entries, genome build hg19
#> 1 studies, 3 contexts, 1 traits
#> LD sketch: plink1 @ pecotmr://extdata/toy_canonical
getContexts(qtl_sumstats_multicontext_example)
#> [1] "brain" "blood" "muscle"