0.0.9 • Published 10 years ago

profile_generator v0.0.9

Weekly downloads
1
License
ISC
Repository
-
Last release
10 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

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago