Description Usage Arguments Value Examples

View source: R/simulateSpines.R

Simulate virtual spines from the mixture of multivariate Gaussians

1 | ```
spineSampling(model, nSpines = 100, cluster = 0, seed = 1)
``` |

`model` |
is a Mclust object |

`nSpines` |
is an integer that denotes the number of spines that must be simulated |

`cluster` |
is an integer value that denotes the cluster from it should be sampled new spines, when it is 0 means that it should be sampled from prior |

`seed` |
is an integer value used to obtain reproducible results |

a dataframe with then nSpines simulated spines

1 | ```
newSpines <- spineSampling(model,nSpines=100,cluster=0,seed=1)
``` |

sergioluengosanchez/spineSimulation documentation built on Feb. 16, 2018, 3:13 a.m.

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.