matrow: Calculate the position in the vector

Description Usage Arguments Value Examples

View source: R/matrow.R

Description

This function calculates the position of a pair in the vector when we transform the upper triangular matrix to a vector.

Usage

1
matrow(x, y)

Arguments

x

bin1

y

bin2

Value

position in the vector

Examples

1
matrow(2,3) #calculate the position of bin2 and bin3 in the vector.

Queen0044/scHiCBayes documentation built on Dec. 18, 2021, 8:43 a.m.