| Bio-DOOP-DOOP documentation | view source | Contained in the Bio-DOOP-DOOP distribution. |
Bio::DOOP::Util::Sort - Sort an array of arrays
Version 0.3
@result = $mofext->get_results; $sorting = Bio::DOOP::Util::Sort->new($db,\results); @sorted_result = $sorting->sort_by_column(1,"asc");
This class can sort any type of array of arrays. It can be used to sort the mofext or fuzznuc results, but can sort other data.
Tibor Nagy, Godollo, Hungary and Endre Sebestyen, Martonvasar, Hungary
Creates a Sort class from an array of arrays type data structure.
$mofext_sort = Bio::DOOP::Util::Sort->new($db,\@mofext_result);
Sort a given array by column. (Warning, the first column is zero!)
Return type: sorted array of arrays
@ret = $mofext_sort->sort_by_column(0,"asc");
| Bio-DOOP-DOOP documentation | view source | Contained in the Bio-DOOP-DOOP distribution. |