topr plot functions

Examples of basic usage. For more examples on how to use each plot function select the function name from the top navigation bar.

library(topr)

manhattan

Single GWAS

manhattan(CD_UKBB, annotate=5e-9)

Multi GWAS

manhattan(list(CD_UKBB, CD_FINNGEN), annotate=5e-9)
[1] "Use the legend_labels argument to change the legend labels from color names to meaningful labels! "

See manhattan for more examples and common use cases.

regionplot

Single GWAS

regionplot(CD_UKBB, gene="IL23R", annotate=5e-9)
[1] "Zoomed to region:  1:67038907-67359979"

Multi GWAS

regionplot(list(CD_UKBB, CD_FINNGEN), gene="IL23R", annotate=5e-9)
[1] "Use the legend_labels argument to change the legend labels from color names to meaningful labels! "
[1] "Zoomed to region:  1:67038907-67359979"

See regionplot for more examples.

locuszoom

locuszoom(R2_CD_UKBB)
[1] "Zoomed to region:  1:67042284-67359988"

ggforesttopr

ggforesttopr will be available in the next topr release (v.2.0.2)

ggforesttopr(list(CD_UKBB, CD_FINNGEN))

effectplot

effectplot(list(CD_UKBB, CD_FINNGEN), annotate=5e-4)

 effectplot(list(CD_FINNGEN, CD_UKBB), color = get_topr_colors()[2], annotate=5e-4)

Other species