IR2Mat {SCANVIS}R Documentation

IRanges to Matrix

Description

converts IRanges interval object to matrix

Usage

IR2Mat(I)

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

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

[Package SCANVIS version 1.8.0 Index]