S3 plot method for objects of class "glow_marginal_scan"
(returned by marginal_scan). Dispatches to
plot_manhattan, plot_qq, or both.
# S3 method for class 'glow_marginal_scan'
plot(x, type = "manhattan", ...)For type = "qq" or type = "both": the genomic
inflation factor \(\lambda_{GC}\) (invisibly).
For type = "manhattan": invisible(NULL).
When type = "both", the graphics device is split into a 1x2 panel
using par(mfrow = c(1, 2)). The original par settings are
restored on exit via on.exit().
All further arguments in ... are passed to both underlying
plot functions when type = "both".
if (FALSE) { # \dontrun{
results <- marginal_scan("chr22.gds", nm, use_SPA = FALSE)
plot(results) # Manhattan
plot(results, type = "qq") # QQ
plot(results, type = "both") # side by side
} # }