in reply to Re: The sum of absolute differences in the counts of chars in two strings.
in thread The sum of absolute differences in the counts of chars in two strings.
The strings could contain anything and be of any length, but the example I'm working with is genomic data and less than 100 chars.
A worked example:
aaaaacaacaaagcc :: a=>10 c=>4 g=>1 t=>0 acaggtgacaaaaaa :: a=>9 c=>2 g=>3 t=>1 absolute diffs :: 1 2 2 1 sum of diffs :: 6
It would be wrong to assume an alphabet of 4 even for genomic data.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: The sum of absolute differences in the counts of chars in two strings.
by Limbic~Region (Chancellor) on Nov 20, 2011 at 01:23 UTC | |
by BrowserUk (Patriarch) on Nov 20, 2011 at 13:14 UTC | |
|
Re^3: The sum of absolute differences in the counts of chars in two strings.
by remiah (Hermit) on Nov 20, 2011 at 00:35 UTC |