Coverdepth.h File Reference

#include "GenModel.h"
#include <iostream>
#include <cassert>
#include <limits>

Go to the source code of this file.

Classes

class  NegativeCoverage
class  Dip
class  RightDropoff
class  LeftDropoff
class  Coverdepth

Functions

void computeDerivative (const int *in, int *out, int L, int dx=1) throw (NegativeCoverage)
void sumNumber (const int *A, int *&B, int L, int w)


Function Documentation

void computeDerivative ( const int *  in,
int *  out,
int  L,
int  dx = 1 
) throw (NegativeCoverage)

computes integer derivative dx determins the distance to use for X. Larger x tends to supress noise if there is a trend. out must have the same or longer length as in

References L.

Referenced by Coverdepth::derivative(), Coverdepth::findDip(), and Coverdepth::searchDip().

void sumNumber ( const int *  A,
int *&  B,
int  L,
int  w 
)

w > 1 A and B should have the same length L elements B has memory allocated same or longer

References delta().

Referenced by testBaseProfile().


Generated on Wed Aug 10 11:57:02 2011 for Softwares from Orpara by  doxygen 1.5.6