src/mirbooking-score-table.c
/**
 * mirbooking_score_table_compute_positions:
 * @mirna:
 * @target:
 * @positions: (array length=positions_len) (out): A vector if positions where
 * a score exists
 * @positions_len: (out): Length of @positions
 *
 * Compute scores for all positions where the #mirna might be encoutered on the
 * #target. This is much more efficient than traversing all the positions of a
 * target.
 */


Compute scores for all positions where the #mirna might be encoutered on the
#target. This is much more efficient than traversing all the positions of a
target.
Compute scores for all positions where the #mirna might be encoutered on the #target . This is much more efficient than traversing all the positions of a target .
gboolean
mirbooking_score_table_compute_positions (MirbookingScoreTable  *self,
                                          MirbookingMirna       *mirna,
                                          MirbookingTarget      *target,
                                          gsize                **positions,
                                          gsize                 *positions_len,
                                          GError               **error)
{
    g_return_val_if_fail (self != NULL, FALSE);
    g_return_val_if_fail (mirna != NULL, FALSE);
    g_return_val_if_fail (target != NULL, FALSE);
    MirbookingScoreTableClass *klass = MIRBOOKING_SCORE_TABLE_GET_CLASS (self);
    return klass->compute_positions (self,
                                     mirna,
                                     target,
                                     positions,
                                     positions_len,
                                     error);
}
gboolean mirbooking_score_table_compute_positions ( MirbookingScoreTable * self , MirbookingMirna * mirna , MirbookingTarget * target , gsize * * positions , gsize * positions_len , GError * * error ) { g_return_val_if_fail ( self != NULL , FALSE ) ; g_return_val_if_fail ( mirna != NULL , FALSE ) ; g_return_val_if_fail ( target != NULL , FALSE ) ; MirbookingScoreTableClass * klass = MIRBOOKING_SCORE_TABLE_GET_CLASS ( self ) ; return klass -> compute_positions ( self , mirna , target , positions , positions_len , error ) ; }
mirbooking_score_table_compute_positions:
 @mirna:
 @target:
 @positions: (array length=positions_len) (out): A vector if positions where
 a score exists
 @positions_len: (out): Length of @positions
mirbooking_score_table_compute_positions : @mirna : @target : @positions : ( array length = positions_len ) ( out ) : A vector if positions where a score exists @positions_len : ( out ) : Length of @positions