0.0.9 • Published 8 years ago

profile_generator v0.0.9

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

PROFILE GENERATOR

This package allows creating profiles of a given length according to a selected distribution.

#INPUT

The package uses as input a graph object defined in PHYLOViZ Online as the following:

var input_options = {
	profile_length: 4, //default 7
	number_of_profiles: 4, //default 10
	mean: 3, //default 1
	min: 1, //default 1
	max: 4, //default 7
	distribution: 'cauchy' //default 'norm'
}

#Distributions

poisson - Poisson distribution

norm - Normal distribution

cauchy- Cauchy distribution

bernoully- Bernoully distribution

#Usage example

var generate_profiles = require('profile_generator');

generate_profiles(input_options, function(output){
	console.log(output);
});
0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago