Skip to content

cossio/Logomaker.jl

Repository files navigation

Logomaker Julia package

A Julia wrapper of the Logomaker Python package to plot sequence logos.

import Logomaker, PythonCall

color_scheme = PythonCall.pydict(Dict('A' => "blue", 'C' => "gold", 'G' => "green", 'U' => "red", '-' => "gray"))

# weights is a matrix containing scores, e.g. conservation.
logo = Logomaker.Logo(weights, collect("ACGU-"); color_scheme)
logo.ax.set_ylim(0, log2(5))
logo.fig

Example sequence logo

See the docs for a full example.

Related

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors