This function gives a value to detect convergence over a given time series. It takes the average AP position of cells next to one somite and compares the distance to the average AP positiion of cells next to anouther somite group. Default values are for somites 1 and 4, as they mark the extent of the limb field in zebrafish.

1 | ```
convergence(dataframe, Asom = 1, Psom = 4)
``` |

`dataframe` |
time series dataframe |

`Asom` |
Anterior somite group that you want to measure convergence for. Default value is 1 |

`Psom` |
Posterior somite group that you want to measure convergence for. Dfault value is 4 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.