Description Usage Arguments Value Examples

View source: R/subset_matrix.R

This function takes a sparse matrix of contacts and a genomic region and extract a sub-matrix with the desired region.

1 | ```
subset_matrix(mat, region)
``` |

`mat` |
A |

`region` |
A genomic region ("chr" or "chr:start-end"). |

A `dgTMatrix`

corresponding to the desired region.

1 | ```
plot(0)
``` |

qenvio/dryhic documentation built on Nov. 5, 2018, 9:43 p.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.