SubcloneSeeker
1.0.0
Subclone deconvolution software framework
|
Abstract data structure class that represents any type of somatic mutation. More...
#include <SomaticEvent.h>
Public Member Functions | |
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) |
![]() | |
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 | |
double | frequency |
Protected Member Functions | |
virtual std::string | createTableStatementStr () |
![]() | |
virtual std::string | getTableName ()=0 |
virtual std::string | createObjectStatementStr ()=0 |
virtual std::string | updateObjectStatementStr ()=0 |
virtual std::string | selectObjectColumnListStr ()=0 |
virtual int | bindObjectToStatement (sqlite3_stmt *statement)=0 |
virtual void | updateObjectFromStatement (sqlite3_stmt *statement)=0 |
Protected Attributes | |
sqlite3_int64 | ofClusterID |
![]() | |
sqlite3_int64 | id |
Abstract data structure class that represents any type of somatic mutation.
The most important aspect of the mutations represented by this class is that it has an cell frequency associated, which describes in what fraction of the cells does this specific event exist
|
inline |
minimal constructor to reset member variables
|
virtual |
Return all objects with the given cluster id as their parent
|
inline |
Retrieve cluster id this event belongs to
|
protectedvirtual |
return the table definition when creating the table in a sqlite3 database
Imagine a generic SQL create statement: CREATE TABLE <tableName> (id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT <other-columns>); Notice that the returned string must be prefixed with a comma ",", to separate any custom columns from the id column
Implements SubcloneSeeker::Archivable.
|
inlinevirtual |
Check equality
anotherEvent | The other SomaticEvent object to compare to |
resolution | The boundry resolution with respect to chromosome location |
Reimplemented in SubcloneSeeker::CNV.
|
inline |
Set the cluster's database id to which this event belongs
clusterID | The cluster's database record id |
double SubcloneSeeker::SomaticEvent::frequency |
Cell frequency
|
protected |
to which cluster in database does this event belongs