kasperdanielhansen / genbioconductor

Materials for Genomics Data Science: Introduction to Bioconductor
Other
92 stars 79 forks source link

argument errrors in intersect description for findOverlaps function results #3

Closed alcor2019 closed 8 years ago

alcor2019 commented 8 years ago

Hi,

In lines 195-196 of the IRanges_Basic.Rmd file, I think there are some errors for the arguments in the intersect function relatively to the description (line 192) :

intersect(ir1[subjectHits(ov)[1]], ir2[queryHits(ov)[2]])

has to be replaced by

intersect(ir1[queryHits(ov)[1]], ir2[subjectHits(ov)[1]])

Alain

kasperdanielhansen commented 8 years ago

Correct.