expandC: Expand the Contact Matrix over Regions

expandCR 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)

hhh4contacts documentation built on Oct. 8, 2024, 1:08 a.m.