pub enum SamplingStrategy {
Uniform,
Gaussian(Sigma),
Poisson(Lambda),
Exponential(Lambda),
}Expand description
Sampling strategies to sample the EcDNADistribution.
Variants§
Uniform
Randomly pick cells from the ecDNA distribution.
Gaussian(Sigma)
Map each entry of the ecDNA distribution k into a Normal distribution
with mean k and std of 1, and then randomly pick cells from this
modified distribution.
Note that if the distribution contains only cells w/o any ecDNAs, then this will not generate any new cell with ecDNA (that is it’s a biased Gaussian).
Poisson(Lambda)
Map each entry of the ecDNA distribution k into a Poisson point
process with mean lambda * k and , and then randomly pick cells from
this modified distribution.
Exponential(Lambda)
Map each entry of the ecDNA distribution k into a Exponential
distribution with a rate parameter, and then randomly pick cells from
this modified distribution.
The mapping is k * (1-exp(rate)), that is then ones we have before
transcription k times the ones that have not degraded 1-exp(rate).
Trait Implementations§
Source§impl Clone for SamplingStrategy
impl Clone for SamplingStrategy
Source§fn clone(&self) -> SamplingStrategy
fn clone(&self) -> SamplingStrategy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more