Description Usage Arguments Value Examples

Calculate joint probability density matrix from weights

1 |

`weights` |
3-dimensional array of weights with dimensions:
nBins x samples x genes as generated by |

`i1` |
index to 1st gene |

`i2` |
index to 2nd gene |

Returns joint probability density matrix [bins x bins]

1 2 | ```
m <- hist2d( calcWeights( riceEx, 7, 3), 1, 2 )
image(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.