ecl-logo Documentation

FoldingMatrix

FoldingMatrix[sequence,k]matrix

this function takes a sequence and returns a matrix descirbing if the ovelapping subsequenes of length k from start to finish could fold onto eachother where 1 specifies a posible fold, and 0 specifies no fold.

FoldingMatrix[sequence,k,Span[m,n]]matrix

this function takes a sequence and returns a matrix descirbing if the ovelapping subsequenes of length k in the range from position m to n could fold onto eachother where 1 specifies a posible fold, and 0 specifies no fold.

Details

    Input
    Output
    General Options
    Attributes
  • Listable

Examples

Basic Examples  (5)

Folding matrix of all one-mer interactions:

Folding matrix of all three-mer interactions:

Construct folding matrix for a sequence at multiple different minimum fold lengths:

Construct folding matrix for a list of sequences:

Construct folding matrix for the subsequence specified by the given span:

Additional Examples  (1)

Give list of sequences and list of lengths:

Options  (2)

Degeneracy  (1)

Can set degeneracy:

Polymer  (1)

Can specify a polymer type:

Attributes  (1)

Listable  (1)

Function is listable: