in reply to calculate average in sliding windows
thanks to all...but I still have problems in the sliding window part
Maybe I didn't explain it ok. What I want is to group the first column of the file in windows of 10 kbases (DNA positions) and calculate the average of column 2 for each window.
BrowserUK and Eliya: your idea works fine but it doesn't take into account the positions in column 1...and I'm stuck trying to use it.
Any idea?
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: calculate average in sliding windows
by Eliya (Vicar) on May 23, 2012 at 14:27 UTC | |
by marfabe (Initiate) on May 23, 2012 at 14:43 UTC | |
by Eliya (Vicar) on May 23, 2012 at 15:05 UTC | |
by marfabe (Initiate) on May 23, 2012 at 15:31 UTC |