[Bioc-sig-seq] RangedData objects. Redefining widths with conditions.

Ivan Gregoretti ivangreg at gmail.com
Thu Apr 22 22:17:31 CEST 2010


Hello everybody,

How do you resize() the ranges of a RangedData object?


In the past (IRanges 1.4.11), I could

1) extend forward 200 bases from the start in '+' ranges OR
2) extend backward 200 bases from the end in '-' ranges.

The syntax was something like this:

resize(ranges(A), width = 200, start = A$strand == "+")

In IRanges 1.5.70, the "start" argument of resize() has been
depracated and replaced by "fix".

Can somebody show how to get the task accomplished with the new resize()?

Thank you,

Ivan


Ivan Gregoretti, PhD
National Institute of Diabetes and Digestive and Kidney Diseases
National Institutes of Health



More information about the Bioc-sig-sequencing mailing list