LFM_to_Iset: Convert a sparse ligation frequency matrix into an...

Description Usage Arguments Value Examples

View source: R/conversion.R

Description

The data can be binned or not binned, normalized or not normalized.

Usage

1
LFM_to_Iset(LFM, binned = F)

Arguments

LFM

A sparse ligation frequency matrix, with the genomic annotation as row and column names.

binned

Boolean, whether the matrix is already binned. Defaults to TRUE.

Value

An interaction set object containing the information from the LFM and the genomic annotation, and with the binSize stored as metadata

Examples

1
2
LFM <- Matrix::Matrix(c(1,2,1,2,5,0,1,0,0), 3, sparse = T)
Iset <- LFM_to_Iset(LFM, binned = F)

AnnikaGable/chromium documentation built on May 5, 2019, 6:04 a.m.