Description Usage Arguments Details Value Examples

View source: R/paste_matrices.R

This function takes two sparse matrix of contacts and a maximum distance (in bins) and returns a `data.frame`

with the contacts of the tow matrices for each pair of positions.

1 | ```
paste_matrices(smat1, smat2, mm)
``` |

`smat1` |
A |

`smat2` |
Another |

`mm` |
The maximum distance (in bp) to truncate the data. |

This is an auxiliary function used by `scc`

.

A `data.frame`

with the two coordinates (`i`

and `j`

) and the number of contacts of each matrix (`x1`

and `x2`

).

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

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.