The recommended user-facing interfaces are:
-
import_gwas()|>plot_manha()orggpop()+geom_manha() -
import_gwas()|>plot_qq()orggpop()+ggPopi::geom_qq() plot_admix()ggpop() + geom_admix()
The package also exports advanced helpers for users who need original-package compatibility or integration with older code.
pophelper compatibility
plot_pophelper_q(import_admix("runs/", type = "admixture"), returnplot = TRUE)
plot_admixture_pophelper(import_admix("runs/", type = "admixture"))These helpers keep the original pophelper return
structure.
Importing pophelper qlists
read_pophelper_q(files = "run1.Q", as_ggpop = TRUE)When as_ggpop = TRUE, compatibility input is converted
to a typed ggpop_admix object so it can enter the same
plotting pipeline as native imports.
