Reference

SequenceLogos.aa2intMethod
aa2int(seq::String[])

Given a vector of string amino-acid sequences, converts it to an integer matrix.

source
SequenceLogos.conservation_matrixMethod
conservation_matrix(P, M; unit = log(2))

Similar to conservation_matrix(P), but instead of a flat measure over letters at each site, computes a KL divergence to a prior measure M.

source
SequenceLogos.conservation_matrixMethod
conservation_matrix(P; unit = log(2))

Given a matrix of frequencies P of size (q, L), where q is the number of possible letters and L the sequence length, returns the matrix of conservations (as defined by Schneider and Stephens 1990, 10.1093/nar/18.20.6097).

source
SequenceLogos.conservation_scoresMethod
conservation_scores(P, M; unit = log(2))

Similar to conservation_scores(P), but instead of a flat measure over letters at each site, computes a KL divergence to a prior measure M.

source
SequenceLogos.logo_from_matrixMethod
logo_from_matrix(weights, alphabet)

Construct a SequenceLogo from a weight matrix of size (q, L), where q is the number of possible letters and L the length of the sequence. alphabet is a String containing the q possible letters.

source