libuproc
1.2.0
|
Model. More...
Data Structures | |
struct | uproc_model |
Model. More... | |
Functions | |
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 corresponding object. More... | |
uproc_substmat * | uproc_model_substitution_matrix (uproc_model *model) |
Returns the substitution matrix of the model. More... | |
uproc_matrix * | uproc_model_codon_scores (uproc_model *model) |
Returns the codon scores of the model. More... | |
uproc_matrix * | uproc_model_orf_threshold (uproc_model *model) |
Returns the ORF threshold matrix of the model. More... | |
void | uproc_model_destroy (uproc_model *model) |
Destroy the model and all associated objects. More... | |
Model.
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 corresponding object.
path | an existing directory containing the UProC model files. |
orf_thres_level | the ORF detection threshold to be used. Note that the corresponding file "orf_thresh_e%d" has to exist in the directory. |
uproc_substmat* uproc_model_substitution_matrix | ( | uproc_model * | model | ) |
Returns the substitution matrix of the model.
Note that the returned object will become invalid when the model is destroyed.
model | the model |
uproc_matrix* uproc_model_codon_scores | ( | uproc_model * | model | ) |
Returns the codon scores of the model.
Note that the returned object will become invalid when the model is destroyed.
model | the model. |
uproc_matrix* uproc_model_orf_threshold | ( | uproc_model * | model | ) |
Returns the ORF threshold matrix of the model.
Note that the returned object will become invalid when the model is destroyed.
model | the model |
void uproc_model_destroy | ( | uproc_model * | model | ) |
Destroy the model and all associated objects.
model | the model to destroy and free memory for. |