libuproc  1.2.0
model.h
Go to the documentation of this file.
1 /* Copyright 2014 Peter Meinicke, Robin Martinjak, Manuel Landesfeind
2  *
3  * This file is part of libuproc.
4  *
5  * libuproc is free software: you can redistribute it and/or modify it under
6  * the terms of the GNU Lesser General Public License as published by the Free
7  * Software Foundation, either version 3 of the License, or (at your option)
8  * any later version.
9  *
10  * libuproc is distributed in the hope that it will be useful, but WITHOUT ANY
11  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with libuproc. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
30 #ifndef UPROC_MODEL_H
31 #define UPROC_MODEL_H
32 
33 #include "uproc/ecurve.h"
34 #include "uproc/idmap.h"
35 #include "uproc/substmat.h"
36 #include "uproc/matrix.h"
37 
50 typedef struct uproc_model_s uproc_model;
51 
62 uproc_model *uproc_model_load(const char *path, int orf_thresh_level);
63 
75 
86 
98 
103 void uproc_model_destroy(uproc_model *model);
104 
105 #endif
uproc_matrix * uproc_model_orf_threshold(uproc_model *model)
Returns the ORF threshold matrix of the model.
void uproc_model_destroy(uproc_model *model)
Destroy the model and all associated objects.
uproc_substmat * uproc_model_substitution_matrix(uproc_model *model)
Returns the substitution matrix of the model.
Array of matrices of amino acid distances.
uproc_model * uproc_model_load(const char *path, int orf_thresh_level)
Loads all required data of a UProC model from files in the given directory and returns a correspondin...
Module: ID map.
Module: 2D double matrix.
uproc_matrix * uproc_model_codon_scores(uproc_model *model)
Returns the codon scores of the model.
2D matrix
Module: Evolutionary Curve.
Module: Amino acid substitution matrix.