Description Usage Arguments Value Author(s) Examples
Convert an RleList
to a matrix
. The elements of
the RleList
should all have the same length.
1 | RleList2matrix(rlelist = NULL)
|
rlelist |
An |
a matrix
with one row for each element
of the RleList
Pascal GP Martin
1 2 3 4 5 6 | set.seed(123)
myrlelist <- IRanges::RleList(
x = S4Vectors::Rle(sample.int(100, 5)),
y = S4Vectors::Rle(sample.int(100, 5)),
z = S4Vectors::Rle(sample.int(100, 5)))
RleList2matrix(myrlelist)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.