in reply to Re^5: Position Weight Matrix of Set of Strings
in thread Position Weight Matrix of Set of Strings
The code gives this matrix only:my @inst = ( 'GGTGTGCC', 'GCTGTGGG', 'GGTGGGCC' );
Note that it doesn't show matrix element of A:T => 0 0 1 0 0.666666666666667 0 0 0 C => 0 0.333333333333333 0 0 0 0 0.666666666666667 0.666666666666667 G => 1 0.666666666666667 0 1 0.333333333333333 1 0.333333333333333 0.3 +33333333333333
My question is how can I initialize your code above, so it can also includes matrix where the bases doesn't exist?A => 0 0 0 0 0 0 0 0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Position Weight Matrix of Set of Strings
by BrowserUk (Patriarch) on Sep 19, 2006 at 01:23 UTC |