expandC {hhh4contacts}R Documentation

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)

Arguments

C

a contactmatrix.

n

the size of the secondary dimension to expand to.

Value

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

Examples

expandC(contactmatrix(), 2)

[Package hhh4contacts version 0.13.3 Index]