GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - juliedwhite/miamiplot: An R package for creating ggplot2 based miami plots.

BranchesTags
Open more actions menu

Latest commit

 

History

164 Commits
164 Commits

Folders and files

NameName
Last commit message
Last commit date
R
R
 
 
data
data
 
 
man
man
 
 
vignettes
vignettes
 
 
.Rbuildignore
.Rbuildignore
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CITATION.cff
CITATION.cff
 
 
DESCRIPTION
DESCRIPTION
 
 
NAMESPACE
NAMESPACE
 
 
PrettyMiami.jpg
PrettyMiami.jpg
 
 
README.md
README.md
 
 
basic_miami.jpeg
basic_miami.jpeg
 
 
miamiplot.Rproj
miamiplot.Rproj
 
 

Repository files navigation

MiamiPlot

R function to create a ggplot2 based miami plot

Installation

Install directly from github using devtools

library(devtools)
install_github("juliedwhite/miamiplot", build_vignettes = TRUE)

Load the package each time you use it:

library(miamiplot)

Usage

See the vignette for more examples:

vignette("miamiplot")

Take a look at the built-in data:

head(gwas_results)

Basic miami plot using built-in data, with positive beta values in the upper plot and negative beta values in the lower plot.

ggmiami(data = gwas_results[which(gwas_results$study == "A"),], 
        split_by = "beta", split_at = 0, p = "pval", 
        upper_ylab = "Positive beta values",
        lower_ylab = "Negative beta values")

basic miami

If you'd like to construct your own code "from scratch" (maybe you want to change the appearance and position of the axes or something else), there is a tutorial using the background code from the package in vignette("scratch_miamiplots").

Citation

If you use this package or its vignettes, please cite it as:
Julie D. White. 2020. Miamiplot: An R package for creating ggplot2 based miami plots. https://github.com/juliedwhite/miamiplot

About

An R package for creating ggplot2 based miami plots.

Topics

ggplot2gwasmiami-plot

Resources

Readme
Activity

Stars

20 stars

Watchers

1 watching

Forks

9 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.