IR2Mat: IRanges to Matrix

Description Usage Arguments Details Value Examples

View source: R/SCANVISscan.R

Description

converts IRanges interval object to matrix

Usage

1

Arguments

I

IRanges interval object

Details

This function is called upon by SCANVISscan

Value

a matrix with start and end coordinates for the intervals in I

Examples

1
2
3
library(IRanges)
I=IRanges(1:10,21:30)
m=IR2Mat(I)

SCANVIS documentation built on Nov. 8, 2020, 5:14 p.m.