www.gusucode.com > bioinfo 案例源码程序 matlab代码 > bioinfo/DisplaySequenceLogoForNucleotideSeqExample.m

    %% Display a Sequence Logo for Aligned Nucleotide Sequences
% This example shows how to display a sequence logo for a set of aligned
% nucleotide sequences.

% Copyright 2015 The MathWorks, Inc.


%%
% Create a series of aligned nucleotide sequences.
S = {'ATTATAGCAAACTA',...
     'AACATGCCAAAGTA',...
     'ATCATGCAAAAGGA'}
%%
% Display the sequence logo.
seqlogo(S)