matrix2RleList: Convert an 'matrix' to an 'RleList'

Description Usage Arguments Value Author(s) Examples

View source: R/utils.R

Description

Convert an matrix to an RleList. if mat is not a matrix, a conversion will be attempted.

Usage

1

Arguments

mat

A matrix to convert as an RleList

Value

an RleList

Author(s)

Pascal GP Martin

Examples

1
matrix2RleList(matrix(c(rep(1:3, 3), rep(4:6, 3)), nrow=3))

pgpmartin/GeneNeighborhood documentation built on Sept. 2, 2021, 6:37 a.m.