miamiplot
An R package for creating ggplot2 based miami plots.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.3%) to scientific vocabulary
Keywords
Repository
An R package for creating ggplot2 based miami plots.
Basic Info
Statistics
- Stars: 16
- Watchers: 1
- Forks: 9
- Open Issues: 3
- Releases: 0
Topics
Metadata Files
README.md
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")

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
Owner
- Name: Julie White
- Login: juliedwhite
- Kind: user
- Location: Raleigh, NC
- Repositories: 1
- Profile: https://github.com/juliedwhite
I work on omics + environmental exposures + epidemiology ⟷ human health, and try to produce effective and reproducible analyses.
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: >-
Miamiplot: An R package for creating ggplot2 based miami plots.
message: >-
If you use this package or it's vignettes, please cite it using this metadata.
type: software
authors:
- given-names: Julie
family-names: White
orcid: 'https://orcid.org/0000-0002-2235-4817'
repository-code: 'https://github.com/juliedwhite/miamiplot'
GitHub Events
Total
- Issues event: 1
- Watch event: 1
- Issue comment event: 1
- Push event: 2
- Pull request review comment event: 11
- Pull request review event: 8
- Pull request event: 3
Last Year
- Issues event: 1
- Watch event: 1
- Issue comment event: 1
- Push event: 2
- Pull request review comment event: 11
- Pull request review event: 8
- Pull request event: 3
Dependencies
- R >= 3.2 depends
- checkmate * imports
- dplyr * imports
- ggplot2 >= 3.3.0 imports
- ggrepel * imports
- gridExtra * imports
- magrittr * imports
- rlang * imports
- RColorBrewer * suggests
- knitr * suggests
- rmarkdown * suggests