Plots
  • Introduction
  • Ⅰ.load the data and install packages
    • 0.load the data and install packages
  • Ⅱ.Plots
    • 1.Box plots
    • 2.Violin plots
    • 3.Histogram plots
    • 4.Density plots
    • 5.Dot plots
    • 6.Scatter plots
    • 7.Volcano plots
    • 8.Manhattan plots
    • 9.Heatmaps
    • 10.Ballon plots
    • 11.Vennpie plots
    • Learn more
Powered by GitBook
On this page

Was this helpful?

  1. Ⅱ.Plots

8.Manhattan plots

Previous7.Volcano plotsNext9.Heatmaps

Last updated 6 years ago

Was this helpful?

head(df4)
##   SNP CHR BP         P
## 1 rs1   1  1 0.9148060
## 2 rs2   1  2 0.9370754
## 3 rs3   1  3 0.2861395
## 4 rs4   1  4 0.8304476
## 5 rs5   1  5 0.6417455
## 6 rs6   1  6 0.5190959
manhattan(df4, main = "GWAS results", ylim = c(0, 8),
          cex = 0.5, cex.axis=0.8, col=c("dodgerblue4","deepskyblue"),
          #suggestiveline = F, genomewideline = F, #remove the suggestive and genome-wide significance lines
          chrlabs = as.character(c(1:22)))