hhh4contacts (version 0.13.1)

expandC: Expand the Contact Matrix over Regions

Description

This is simply the Kronecker product of the contact matrix C with a matrix of ones of dimension n x n.

Usage

expandC(C, n)

Value

a square matrix with n*ncol(C) rows and columns.

Arguments

C

a contactmatrix.

n

the size of the secondary dimension to expand to.

Examples

Run this code
expandC(contactmatrix(), 2)

Run the code above in your browser using DataLab