Get startedGet started for free

Subsetting a set

In the previous exercise, you used subseq() to subset a single sequence. Here, you can try subseq() using a set with 3 sequences. The arguments are the same as before: object, start, and end. The last two should be in the form of a vector, for each of the sequences on the set.

subseq(zikaSet, 
        start = c(20, 40, 2), 
        end = c(50, 45, 22)
     )

What is the width of the sequences after subsetting?

This exercise is part of the course

Introduction to Bioconductor in R

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise