knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of glacier is to calculate annotation overlap statistics for gene sets. This requires three inputs:
.csv
file..csv
file.You can install the development version of glacier from from GitHub with:
# install.packages("devtools") devtools::install_github("lilin-yang/glacier", build_vignettes = TRUE)
library(glacier)
glacier has three main types of functions:
import_annotations()
, import_database()
, import_msigdb()
,
process_input_text()
and process_input_seurat()
functions process raw data
into a glacier-specific intermediate format.compute()
function calculates overlap statistics from the inputs.plot_statistics()
and plot_overlap()
functions display the calculated
statistics in a graph.An example of these functions in action, as well as the supported input formats,
can be seen in vignette("console", package = "glacier")
.
A web interface for those less familiar with R is also provided, and can be
started with webstart()
. A guide to using the web interface can be found in
vignette("web-app", package = "glacier")
.
As an alternative, an instance is hosted online at shinyapps.io.
This package was inspired by, and extends the functionality of the GSEA Compute Overlaps tool.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.