grl.pivot | R Documentation |
GRangesList
, inverting "x" and "y""Pivots" GRangesList object "x" by returning a new GRangesList "y" whose kth item is GRanges object of ranges x[[i]][k] for all i in 1:length(x)
e.g. If the length of a GRangesList 'grl' is 50, 'length(grl)=50 and length of each GRanges
element inside is 2,
then the function grl.pivot
will produce a length 3 GRangesList
with 50 elements per GRanges
Note: Assumes all GRanges in "x" are of equal length
grl.pivot(x)
x |
|
GRangesList with inverted 'x' and 'y'
grl.pivot(grl.hiC)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.