fShowMismatch = 1 << 2,
93fDefault = fBarGraph | fShowCount | fShowMismatch | fShowTotal
157 boolIsBarGraph()
const;
158 boolShowCount()
const;
159 boolShowAGTC()
const;
160 boolShowTotal()
const;
161 boolShowLabel()
const;
162 voidSetShowLabel(
boolflag);
164 voidSetDisplayFlag(FDisplay bit,
bool f);
169 boolm_HasAmbigBases =
false;
195 virtual boolOnLeftDblClick(
const TModelPoint& p);
198 virtual voidGetHTMLActiveAreas(
TAreaVector* p_areas)
const;
199 virtual boolIsClickable()
const;
203 const TStatVec& GetStatVec()
const;
206 voidSetCgiMode(
boolcgi_mode =
true);
214 virtual voidx_Draw()
const;
215 virtual voidx_UpdateBoundingBox();
218 voidx_DrawBarGraph()
const;
219 voidx_DrawDensityTable()
const;
220 intx_GetMaxTotal()
const;
221vector<int> x_GetShowList()
const;
233 boolm_CgiMode =
false;
234 boolm_ShowIntrons =
false;
static string GetStatLabel(int stat)
@ fBarGraph
otherwise, shown as density table
@ fShowCount
otherwise, shown percentage
@ fShowMismatch
otherwise, shown individual count
void SetDisplayFlag(FDisplay bit, bool f)
int m_StatZoomLevel
at what zoom level to turn on statistics
static int GetRefSeqIdex(char base)
void SetShowLabel(bool flag)
array< CRgbaColor, eStat_Total+1 > m_Colors
color settings
EStatType
statistics enum.
@ eStat_Intron
intron (for mRNA-to-genome alignments)
@ eStat_Ambig
ambiguous consensus (for MSA pileup)
@ eStat_Mismatch
mismatches (A+G+T+C - matches)
@ eStat_Total
total alignment count at this base (A+G+T+C+Gap)
bool IsBarGraph() const
CAlnStatConfig inline method implementation.
const TStatVec & GetStatVec() const
void SetCgiMode(bool cgi_mode=true)
void SetConfig(CRef< CAlnStatConfig > conf, CRef< CHistParams > params)
CAlnStatGlyph inline method implementation.
TModelUnit m_ZoomScale
zoom scale when this statistics are computed.
void SetDialogHost(IGlyphDialogHost *host)
vector< SStatStruct > TStatVec
CRef< CAlnStatConfig > m_Config
void ShowIntrons(bool show=true)
CRef< CHistParams > m_GraphParams
IGlyphDialogHost * m_DlgHost
class CRgbaColor provides a simple abstraction for managing colors.
class CSeqGlyph defines an interface that wraps a rectilinear abstract object.
vector< CHTMLActiveArea > TAreaVector
IGlyphDialogHost An interface used for handling issues related to any dialog pops up that requires so...
unsigned int TSeqPos
Type for sequence locations and lengths.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORT
static const char label[]
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4