Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://omarwagih.github.io/ggseqlogo/

Publication-quality sequence logos in R
https://omarwagih.github.io/ggseqlogo/

Last synced: 3 days ago
JSON representation

Publication-quality sequence logos in R

Awesome Lists containing this project

README

        

ggseqlogo logo

[![](http://cranlogs.r-pkg.org/badges/ggseqlogo)](http://cran.rstudio.com/web/packages/ggseqlogo/index.html)
[![](https://www.r-pkg.org/badges/version/ggseqlogo)](http://cran.rstudio.com/web/packages/ggseqlogo/index.html)

ggseqlogo is an R package for generating publication-ready sequence logos using ggplot2.

## Getting started
First install `ggseqlogo` from github using the `devtools` package:

```r
devtools::install_github("omarwagih/ggseqlogo")
```

Load up the package and sample data

```r
# Load the required packages
require(ggplot2)
require(ggseqlogo)

# Some sample data
data(ggseqlogo_sample)

```

Then draw a sequence logo

```r
# Plot DNA sequence logo for transcription factor - data from JASPAR
ggseqlogo( seqs_dna$MA0001.1 )

# Plot protein sequence logo for kinase target phosphosites
ggseqlogo( seqs_aa$AKT1 )
```

For more examples, and a list of features **[see the full tutorial here](http://omarwagih.github.io/ggseqlogo/)**.

## Tutorial
A detailed tutorial on how to use ggseqlogo **[can be found here](http://omarwagih.github.io/ggseqlogo/)**.

## Citation
If you use ggseqlogo, please cite:

Wagih, Omar. ggseqlogo: a versatile R package for drawing sequence logos. _Bioinformatics_ 33, no. 22 (2017): 3645-3647.
[https://doi.org/10.1093/bioinformatics/btx469](https://doi.org/10.1093/bioinformatics/btx469) PMID: [29036507](https://www.ncbi.nlm.nih.gov/pubmed/29036507)

## Feedback
If you have any feedback or suggestions, drop me a line at (omarwagih(at)gmail.com) or open an issue on github.