Description Usage Arguments Value Examples
Calculate mutual information for an expression matrix using B-Spline binning.
| 1 | calcSplineMI(x, nBins, splineOrder, threads = 1)
 | 
| x | Gene expression matrix with genes in rows and samples in columns | 
| nBins | Number of bins | 
| splineOrder | Spline order | 
| threads | if >1 then run in parallel | 
matrix of mutual information (bits)
| 1 2 3 4 5 6 7 | data( riceEx )
calcSplineMI( riceEx[1:5, ], 7, 3)
# compare single CPU vs two CPU's
system.time( mi_1 <- calcSplineMI( riceEx, 7, 3) )
system.time( mi_2 <- calcSplineMI( riceEx, 7, 3, threads = 2) )
identical( mi_1, mi_2 )
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.