SubcloneSeeker  1.0.0
Subclone deconvolution software framework
 All Classes Files Functions Variables Macros Pages
SubcloneSeeker::SegmentalMutation Class Reference

Abstract data structure class that represents any segmental somatic mutation. More...

#include <SegmentalMutation.h>

Inheritance diagram for SubcloneSeeker::SegmentalMutation:
SubcloneSeeker::SomaticEvent SubcloneSeeker::Archivable SubcloneSeeker::CNV SubcloneSeeker::LOH

Public Member Functions

 SegmentalMutation ()
 
- Public Member Functions inherited from SubcloneSeeker::SomaticEvent
 SomaticEvent ()
 
void setClusterID (sqlite3_int64 clusterID)
 
virtual bool isEqualTo (SomaticEvent *anotherEvent, unsigned long resolution=10000L)
 
sqlite3_int64 clusterID ()
 
virtual DBObjectID_vec allObjectsOfCluster (sqlite3 *database, sqlite3_int64 clusterID)
 
- Public Member Functions inherited from SubcloneSeeker::Archivable
 Archivable ()
 
sqlite3_int64 getId ()
 
void setId (sqlite3_int64 nid)
 
bool createTableInDB (sqlite3 *database)
 
sqlite3_int64 archiveObjectToDB (sqlite3 *database)
 
bool unarchiveObjectFromDB (sqlite3 *database, sqlite3_int64 id)
 
DBObjectID_vec vecAllObjectsID (sqlite3 *database)
 

Public Attributes

GenomicRange range
 
- Public Attributes inherited from SubcloneSeeker::SomaticEvent
double frequency
 

Protected Member Functions

virtual std::string createObjectStatementStr ()
 
virtual std::string updateObjectStatementStr ()
 
virtual std::string selectObjectColumnListStr ()
 
virtual int bindObjectToStatement (sqlite3_stmt *)
 
virtual void updateObjectFromStatement (sqlite3_stmt *)
 
- Protected Member Functions inherited from SubcloneSeeker::SomaticEvent
virtual std::string createTableStatementStr ()
 
- Protected Member Functions inherited from SubcloneSeeker::Archivable
virtual std::string getTableName ()=0
 

Additional Inherited Members

- Protected Attributes inherited from SubcloneSeeker::SomaticEvent
sqlite3_int64 ofClusterID
 
- Protected Attributes inherited from SubcloneSeeker::Archivable
sqlite3_int64 id
 

Detailed Description

Abstract data structure class that represents any segmental somatic mutation.

Mutations described by this class are segmental mutations, which means that they happen over a range of continuous genomic location. Such range is described by GenomicRange

See also
GenomicRange

Constructor & Destructor Documentation

SubcloneSeeker::SegmentalMutation::SegmentalMutation ( )
inline

minimal constructor to reset all member variables

Member Function Documentation

int SegmentalMutation::bindObjectToStatement ( sqlite3_stmt *  statement)
protectedvirtual

Bind archivable properties to a prepared, unbound sqlite3 statement

Parameters
statementA prepared, unbound sqlite3 statement instance
Returns
How many parameters are bound to the statement + 1

Implements SubcloneSeeker::Archivable.

std::string SegmentalMutation::createObjectStatementStr ( )
protectedvirtual

return the unbound statement for record creation

Returns
unbound statement for record creation

Implements SubcloneSeeker::Archivable.

std::string SegmentalMutation::selectObjectColumnListStr ( )
protectedvirtual

return the list of columns to be used in select statement for getting data from the database

Imagine the generic SQL select statement: SELECT <col1>, <col2>, ... FROM <tableName> WHERE id=?; The method should return the <col1>,<col2>,... part

Returns
the list of columns as string

Implements SubcloneSeeker::Archivable.

void SegmentalMutation::updateObjectFromStatement ( sqlite3_stmt *  statement)
protectedvirtual

Populate archivable properties from a prepared statement during unarchiving

Parameters
statementA prepared statement contains the retrieved row

Implements SubcloneSeeker::Archivable.

std::string SegmentalMutation::updateObjectStatementStr ( )
protectedvirtual

return the unbound statement for record update

Returns
unbound statement for record update

Implements SubcloneSeeker::Archivable.

Member Data Documentation

GenomicRange SubcloneSeeker::SegmentalMutation::range

Genomic range over which the mutation occurred


The documentation for this class was generated from the following files: