Description Usage Arguments Details Value See Also Examples

View source: R/contactGroup_utils.R

Get band matrix from ContactGroup.

1 | ```
getBandMatrix(cg, band.no=1)
``` |

`cg` |
A ContactGroup object. |

`band.no` |
Integer specifying which matrix band. |

A band matrix is a matrix whose columns are the `band.no`

-th
off-diagonal of each sample's contact matrix. If there are `k`

samples and matrix band `band.no`

has `r`

entries, then the
returned band matrix is of dimension `r`

x `k`

.

A matrix with one column per sample in the ContactGroup and number of rows equal to the length of the matrix band.

ContactGroup, getBandIdx, band

1 2 | ```
data(cgEx)
b2 <- getBandMatrix(cgEx, 2)
``` |

bnbc documentation built on Nov. 1, 2018, 2:37 a.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.