#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "asymmetry.h"
#include "position.h"
#include "checkresult.h"
Functions | |
void | shellSort (float numbers[], int array_size) |
sorts an array of float | |
void | followLane (PIX *pixGel, float **PeakPosition, float *NodePosition, struct GelInfo *GelInfo, int laneID, float **laneintensity) |
based on Peak and Node Positions, the area of a given staighted lane is cropped out and returned | |
int | checkSymmetry (FILE *ERROROUT_FILE, FILE *FLAGOUT_FILE, PIX *pixGel, int *ZoneID, float **PeakPosition, float *NodePosition, struct GelInfo *GelInfo, struct AnaCutoff *AnaCutoff, float **Asym, float **Laneoffset, int *con_asym_lanes, int Verbose) |
check symmetry of all the lanes, in groups of zones. A corrected image of each lane is extracted using peak and node positions. | |
int | correctAsymmetry (INT32 **ZoneProjection, float **PeakPosition, float *Spacing, struct GelInfo *GelInfo, float **Asym, int MarkerInc) |
correct all peaks in predata identified to have low symmetry (noisy area) with filtered peak projection |
|
check symmetry of all the lanes, in groups of zones. A corrected image of each lane is extracted using peak and node positions. The asymmetry is calculated as the difference of intensity the same distance from a center. The center is shifted up and down, and the lowest value of the asymmetry is used. Only columns with sufficient content is included. The mean of the asym score and the offset used in each segment is reported.
|
|
correct all peaks in predata identified to have low symmetry (noisy area) with filtered peak projection
|
|
based on Peak and Node Positions, the area of a given staighted lane is cropped out and returned
|
|
sorts an array of float sorting code based on code taken from http://linux.wku.edu/~lamonml/algor/sort/shell.html
|