ecl-logo Documentation

NumberOfRepeats

NumberOfRepeats[sequence,k]repeats

this function takes a sequence and returns the total number of ovelapping subsequenes of length k from start to finish that are repeated.

NumberOfRepeats[sequence,k,Span[m,n]]repeats

this function takes a sequence and returns the total number of ovelapping subsequenes of length k from position m to position n that are repeated.

NumberOfRepeats[sequence]repeats

this function takes a sequence and returns the total number of ovelapping subsequenes of length provided by the MinLevel option to the largest length repeat present from start to finish that are repeated.

NumberOfRepeats[sequence,Span[m,n]]repeats

this function takes a sequence and returns the total number of ovelapping subsequenes of length provided by the MinLevel option to the largest length repeat from position m to position n that are repeated.

Details

  • When spans are provided returns any sequences of length k which inclusively contact the provided region.
  • Input
    Output
    General Options
    Attributes
  • Listable

Examples

Basic Examples  (4)

Find number of 2-mer repeats:

Find number of 4-mer repeats:

Find number of 4-mer repeats in multiple sequences:

Count repeats of different sizes in one sequence:

Options  (4)

Consolidate  (2)

Can turn on Condolidate while no length 'k' is provided:

Can turn off Condolidate while no length 'k' is provided:

MinLevel  (1)

Can specify MinLevel:

Polymer  (1)

Can specify polymer type:

Attributes  (1)

Listable  (1)

Function is listable: