Skip to content

Visualization of Multiple GWAS Summary statistics

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

Broccolito/ggmugs

Repository files navigation

ggmugs

R-CMD-check

The goal of ggmugs is to visualize multiple Genome-wide Association Study (GWAS) summary statistics

Installation

You can install the ggmugs package directly from CRAN:

install.packages("ggmugs")

Alternatively, to install the ggmugs package from github, run:

if(!require("devtools")){
  install.packages("devtools")
  library("devtools")
}

devtools::install_github("Broccolito/ggmugs")

Example

This is a basic example which shows you how to solve a common problem:

library(ggmugs)

plt = ggmugs(
  study_name = c("sumstat1", "sumstat2", "sumstat3", "sumstat4", "sumstat5"),
  summary_stat = c("https://raw.githubusercontent.com/Broccolito/ggmugs_data/main/sumstat1.txt",
                   "https://raw.githubusercontent.com/Broccolito/ggmugs_data/main/sumstat2.txt",
                   "https://raw.githubusercontent.com/Broccolito/ggmugs_data/main/sumstat3.txt",
                   "https://raw.githubusercontent.com/Broccolito/ggmugs_data/main/sumstat4.txt",
                   "https://raw.githubusercontent.com/Broccolito/ggmugs_data/main/sumstat5.txt"),
  p1 = 1e-4,
  p2 = 1e-6,
  p3 = 1e-8,
  color1 = "#FFFFE0",
  color2 = "#FFC300",
  color3 = "#FF5733"
)

Here is an example output from the function:

Example Output

About

Visualization of Multiple GWAS Summary statistics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages