Aan de slagGa gratis aan de slag

A sequence window

To temporarily partition sections of your sequences, you will use the concept of windows of given widths that can move in steps. As you have seen in the video, GRanges provides the slidingWindows() function, with arguments such as width and step.

slidingWindows(x, width, step = 1L)

The GRanges object called ABCD1, with gene id 215 and length 19895, has been pre-loaded for this exercise. Use the ranges() function to see its structure.

ranges(ABCD1)

If you needed exactly 2 windows using step = 1L, what will be the maximum number allowed for the width of each window?

Deze oefening maakt deel uit van de cursus

Introduction to Bioconductor in R

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen