deps/kb_meme/meme-5.0.1/src/order.c
/***********************************************************************
 * Determine whether a given motif order-and-spacing object contains a
 * given motif index (where index counts from 1). Note reverse complement
 * motifs are given negative numbers.
 ***********************************************************************/
Determine whether a given motif order-and-spacing object contains a
given motif index (where index counts from 1). Note reverse complement
motifs are given negative numbers.
Determine whether a given motif order - and - spacing object contains a given motif index ( where index counts from 1 ) . Note reverse complement motifs are given negative numbers .
bool order_contains
  (int motif_i, ORDER_T* order)
{
  return rbtree_find(order->distinct, &motif_i) != NULL;
}
bool order_contains ( int motif_i , ORDER_T * order ) { return rbtree_find ( order -> distinct , & motif_i ) != NULL ; }
Determine whether a given motif order-and-spacing object contains a
 given motif index (where index counts from 1).
Determine whether a given motif order - and - spacing object contains a given motif index ( where index counts from 1 ) .