getDistance.RdCalculate distances between two profiles
getDistance(hsp, count1, count2, P1, P2, pseudo)
| hsp | output of traceBack function |
|---|---|
| count1, count2 | motif profile 1 or 2 |
| P1, P2 | background of profile 1 or 2 |
| pseudo | pseudocount |
full distance and aligned distance.