produce a plotly display of statistics of xQTL association
Usage
viz_stats(
se,
jitter_fac = 500,
ptcolor = "blue",
midchop = 2,
xlabel = "SNP addr",
ylabel = "xQTL association Z"
)Examples
data(geuv19xse)
sds = MatrixGenerics::rowSds(assay(geuv19xse), na.rm=TRUE)
qq = quantile(sds, .8)
ok = which(sds > qq)
lk = geuv19xse[ok,]
mafs = maf(lk)
mins = apply(data.matrix(mcols(getCalls(lk))), 1, min, na.rm=TRUE)
lk = filterCalls(lk, which(mafs>.25 & mins > -1))
lk <- bind_Zs(lk)
#> some variants have MAF > 0.5
viz_stats(lk)