Iset_to_LFM: Convert an InteractionSet object into a ligation frequency...

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

Arguments

Iset

An InteractionSet object

Value

A list consisting of: the sparse ligation frequency matrix with the genomic annotation as rownames and colnames, the restriction fragment annotation (or bin annotation), and the restriction fragment pairs (or bin pairs).

Examples

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

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