Description Usage Arguments Value Examples

Takes an expression matrix and calculates for each value the weights for each bin using B-Splines of a given order.

1 | ```
calcWeights(x, nBins, splineOrder)
``` |

`x` |
Gene expression matrix with genes in rows and samples in columns |

`nBins` |
Number of bins |

`splineOrder` |
Spline order |

3-dimensional array of weights with dimensions: nBins x samples x genes

1 2 3 4 5 6 |

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.