hist2d: Calculate joint probability density matrix from weights

Description Usage Arguments Value Examples

View source: R/BSplineMI.R

Description

Calculate joint probability density matrix from weights

Usage

1
hist2d(weights, i1, i2)

Arguments

weights

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

i1

index to 1st gene

i2

index to 2nd gene

Value

Returns joint probability density matrix [bins x bins]

Examples

1
2
m <- hist2d( calcWeights( riceEx, 7, 3), 1, 2 )
image(m)

larsgr/BSplineMI documentation built on May 20, 2019, 7:57 p.m.