1.0.3 • Published 6 years ago
goeburst v1.0.3
goeBURST
This package performs the goeBURST algorithm on a set of profiles.
#INPUT
The package uses as input a graph object defined in PHYLOViZ Online as the following:
var profile_array = [
[1,3], //Profile of ST1
[1,2] //Profile of ST2
];
var identifiers = {
0: "ST1",
1: "ST2"
}
var algorithm = 'prim'; //or kruskal
#Usage example
var goeBURST = require('goeburst');
goeBURST(profile_array, indetifiers, algorithm, function(links, distanceMatrix){
console.log(links, distanceMatrix); //Results from goeBURST
});