deps/kb_meme/meme-5.0.1/src/tomtom.c
/**************************************************************************
 * Print the score matrix to the specified file.
 **************************************************************************/
Print the score matrix to the specified file.
Print the score matrix to the specified file .
static void print_columnwise_scores(char *cs_file, MATRIX_T *cs) {
  FILE* out;
  DEBUG_FMT(NORMAL_VERBOSE, "Storing %d by %d matrix of column scores in %s.\n",
      get_num_rows(cs), get_num_cols(cs), cs_file);
  if (!open_file(cs_file, "w", false, "column scores", "column scores", &out)) {
    exit(1);
  }
  print_matrix(cs, 10, 7, false, out);
  fclose(out);
}
static void print_columnwise_scores ( char * cs_file , MATRIX_T * cs ) { FILE * out ; DEBUG_FMT ( NORMAL_VERBOSE , " \n " , get_num_rows ( cs ) , get_num_cols ( cs ) , cs_file ) ; if ( ! open_file ( cs_file , " " , false , " " , " " , & out ) ) { exit ( 1 ) ; } print_matrix ( cs , 10 , 7 , false , out ) ; fclose ( out ) ; }
Print the score matrix to the specified file.
Print the score matrix to the specified file .