Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F64450254
ModelComputer.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, May 26, 23:33
Size
1 KB
Mime Type
text/x-c
Expires
Tue, May 28, 23:33 (2 d)
Engine
blob
Format
Raw Data
Handle
17906046
Attached To
R8820 scATAC-seq
ModelComputer.hpp
View Options
#ifndef MODELCOMPUTER_HPP
#define MODELCOMPUTER_HPP
#include <Matrix2D.hpp>
#include <DataLayer.hpp>
class
ModelComputer
{
public
:
/*!
* \brief Constructs an empty object.
*/
ModelComputer
()
;
ModelComputer
(
const
ModelComputer
&
other
)
=
delete
;
/*!
* \brief Destructor.
*/
virtual
~
ModelComputer
()
;
/*!
* \brief Returns the data model in a nice
* format.
* 1st dim: the different classes and
* the model categories. For instance,
* a read model with 2 classes will have
* class 1 and class 2 over the rows.
* A sequence model with 2 classes will
* have class 1 A, class 1 C, class 1 G,
* class 1 T, class 2 A, class 2 C,
* class 2 G and class 2 T.
* 2nd dim: the model length
* ___________
* | class1 | /|\
* ___|__________|_\|/ 1 (reads) or 4 (sequences)
* | class2 | /|\
* |__________| \|/ 1 (reads) or 4 (sequences)
*
* <---------->
* model length
* \return the data model.
*/
virtual
Matrix2D
<
double
>
get_model
()
const
;
protected
:
/*!
* \brief The data layer containing the
* data and their models.
*/
DataLayer
*
data_layer
;
}
;
#endif
// MODELCOMPUTER_HPP
Event Timeline
Log In to Comment