1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Bioconductor in R

Connected

Exercise

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?

Instructions

50 XP

Possible answers