This function was taken from the DESeq package (Anders and Huber) and modified to suit Monocle's needs. It accpets a either a CellDataSet or the expression values of one and returns a variance-stabilized matrix based off of them.

1 2 |

`cds` |
A CellDataSet to use for variance stabilization. |

`dispModelName` |
The name of the dispersion function to use for VST. |

`expr_matrix` |
An matrix of values to transform. Must be normalized (e.g. by size factors) already. This function doesn't do this for you. |

`round_vals` |
Whether to round expression values to the nearest integer before applying the transformation. |

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.