Skip to content

Commit 766722a

Browse files
authored
Update activation_time_distribution_measurement.md
1 parent 7932ff4 commit 766722a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/model_simulation/examples/activation_time_distribution_measurement.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ eprob = EnsembleProblem(sprob; output_func, safetycopy = true)
4545
esol = solve(eprob, ImplicitEM(); trajectories = 250, callback)
4646
nothing # hide
4747
```
48-
Finally, we can plot the distribution of activation times. For this, we will use the [`histogram`](@ref https://docs.juliaplots.org/latest/series_types/histogram/) function (with the `normalize = true` argument to create a probability density function). An alternative we also recommend is [StatsPlots.jl](https://docs.juliaplots.org/latest/generated/statsplots/)'s `density` function (which creates a smoothed histogram that is also easier to combine with other plots). The input to `density` is the activation times (which our output function has saved to `esol.u`).
48+
Finally, we can plot the distribution of activation times. For this, we will use the [`histogram`](https://docs.juliaplots.org/latest/series_types/histogram/) function (with the `normalize = true` argument to create a probability density function). An alternative we also recommend is [StatsPlots.jl](https://docs.juliaplots.org/latest/generated/statsplots/)'s `density` function (which creates a smoothed histogram that is also easier to combine with other plots). The input to `density` is the activation times (which our output function has saved to `esol.u`).
4949
```@example activation_time_distribution_measurement
5050
histogram(esol.u; normalize = true, label = "Activation time distribution", xlabel = "Activation time")
5151
```
@@ -54,4 +54,4 @@ Here we that the activation times take some form of long tail distribution (for
5454
---
5555
## References
5656
[^1]: [David Frigola, Laura Casanellas, José M. Sancho, Marta Ibañes, *Asymmetric Stochastic Switching Driven by Intrinsic Molecular Noise*, PLoS One (2012).](https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0031407)
57-
[^2]: [Christian P Schwall et al., *Tunable phenotypic variability through an autoregulatory alternative sigma factor circuit*, Molecular Systems Biology (2021).](https://www.embopress.org/doi/full/10.15252/msb.20209832)
57+
[^2]: [Christian P Schwall et al., *Tunable phenotypic variability through an autoregulatory alternative sigma factor circuit*, Molecular Systems Biology (2021).](https://www.embopress.org/doi/full/10.15252/msb.20209832)

0 commit comments

Comments
 (0)