BioInt  1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
BioDnaSequenceDotPlot.h
Go to the documentation of this file.
00001 #ifndef BIODNASEQUENCEDOTPLOT_H
00002 #define BIODNASEQUENCEDOTPLOT_H
00003 
00004 #include "BioDnaSequence.h"
00005 #include "BioFasta.h"
00006 #include "BioDnaSubstitutionMatrix.h"
00007 #include "BioLenPos.h"
00008 #include "BioEmbl.h"
00009 #include "BioGenBank.h"
00010 #include "BioPostScript.h"
00011 
00012 class BioDnaSequenceDotPlot
00013 {
00014   private :
00015                  string seq1;
00016                  string seq2;
00017                  string nameSeq1_;
00018                  string nameSeq2_;
00019                  string graphLabel_;
00020 
00021                  unsigned int windowSize_,stringency_;
00022                  
00023                  float r_,g_,b_;
00024                  
00025 //                 void ParseMatrix();
00026                  int compare(string str1,string str2,unsigned int s);
00027 
00028   public  :
00029     BioDnaSequenceDotPlot(){}
00030 
00031     BioDnaSequenceDotPlot(BioDnaSequence,BioDnaSequence,string="IDENTITY");
00032     BioDnaSequenceDotPlot(BioDnaSequence,string,string="IDENTITY");
00033 
00034     BioDnaSequenceDotPlot(BioEmbl,BioEmbl,string="IDENTITY");
00035     BioDnaSequenceDotPlot(BioEmbl,string,string="IDENTITY");
00036 
00037     BioDnaSequenceDotPlot(BioGenBank,BioGenBank,string="IDENTITY");
00038     BioDnaSequenceDotPlot(BioGenBank,string,string="IDENTITY");
00039 
00040     
00041     BioDnaSequenceDotPlot(BioFasta,BioFasta,string="IDENTITY");
00042     BioDnaSequenceDotPlot(BioFasta,string,string="IDENTITY");
00043 
00044     BioDnaSequenceDotPlot(string,string,string="IDENTITY");
00045 
00046     void showDotPlot(BioPostScript& ps,unsigned int startX_=80,unsigned int startY_=200,unsigned int size_=500);
00047     void setPlotColor(unsigned int r,unsigned int g, unsigned int b);
00048     void setLabels (string,string,string);
00049     void setWindowSize(unsigned int windowSize);
00050     void setStringency(unsigned int stringency);
00051 };
00052 
00053 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines