NAME
Bio::Gonzales::Util::Math::kNN::via::Distances - Calculate kNN clusterings from already calculated distances
SYNOPSIS
use Bio::Gonzales::Util::Math::kNN::via::Distances;
my $k = Bio::Gonzales::Util::Math::kNN::via::Distances->new(
distances => [ [1], [ 2, 3 ], ... ],
groups => [ 'group1 row1', 'group row2', undef, 'group row4' ]
);
my $result = $k->calc(1);
DESCRIPTION
METHODS
Bio::Gonzales::Util::Math::kNN::via::Distances->new(...)
- distances
-
Distances in lower triangular form (array of arrays).
- groups
-
Groups in array, undef for "test" rows.
SEE ALSO
AUTHOR
jw bargsten, <joachim.bargsten at wur.nl>