Hi,

I was looking to find a package/function that would calculate the expected value/frequency of finding a subsequence, within a sequence of length L.

For example, assuming that all nucleotides are equally probable, how many times would we expect to find the pattern 'ATTG' in a sequence of length = 20.

I tried looking in biostrings and IRanges, but didn't find what I was looking for. 


many thanks!

	[[alternative HTML version deleted]]

