#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "border.h"
#include "peaks.h"
Functions | |
float | correlation (PIX *pixGel, int row1, int row2, int start, int stop, int maxoffset) |
float | roughness (PIX *pixGel, int row, int start, int stop) |
calculates a roughness measure in a row in a PIX, defined as the sum of the absolute difference between neighbouring points normalized by the dynamic range of the pix | |
void | findBorder (FILE *FLAGOUT_FILE, PIX *pixGel, INT32 **ZoneProjection, struct GelInfo *GelInfo, struct AnaCutoff *AnaCutoff, int *ToneAdjusted, int Verbose) |
finds the outer most lanes by extrapolating from the outermost marker lanes. |
These are tested for similary and roughness before accepted. Correlation and roughness code are also found here, which is also used for result checking.
|
brief calculates the uncentered correlation between two rows in a PIX while allowing for a offset.
|
|
finds the outer most lanes by extrapolating from the outermost marker lanes. Using the generic spacing, we estimate the distance between the outermost markers. A number of the first zones after the first data zone is chosen. Tone adjusted zones are not included, unless all zones considered have been tone adjusted From the sum of zone projection of these zones, we find two peaks close to the estimated distance apart. The data in these two rows are check for correlation with each other (with translational offset allowed) and with their respective neighbour marker lanes. The data is also checked for roughness. The results will be stored in GelInfo->LowYBorder and GelInfo->HighYBorder
|
|
calculates a roughness measure in a row in a PIX, defined as the sum of the absolute difference between neighbouring points normalized by the dynamic range of the pix
|