pastis.datasets.
generate_dataset_from_distances
(dis, alpha=- 3, beta=1, alpha_inter=None, lengths=None, distribution='NegativeBinomial', random_state=None, dispersion=7)¶Generate dataset from distance matrix
count-to-distance parameter
coverage or scaling factor
count-to-distance parameter for inter-chromosomal count. When provided, lengths also needs to be provided
Vector of lengths of chromosomes.
The distribution used to draw contact counts from. Can be “Poisson”, “NB”, “NegativeBinomial”, or “Intensity”. If “Intensity” is provided, returns the intensity of the random process instead of a random distribution.
Determines random number generation. Use an int to make the randomness deterministic.
Dispersion parameter for the Negative Binomial distribution. Will be ignored for the Poisson distribution.
pastis.datasets.generate_dataset_from_distances
¶