HenrikBengtsson / aroma.seq

🔬 R package: aroma.seq: High-Throughput Sequence Analysis using the Aroma Framework
https://github.com/HenrikBengtsson/aroma.seq
0 stars 1 forks source link

Add isCompatibleWith() for BamDataSet:s #34

Closed HenrikBengtsson closed 7 years ago

HenrikBengtsson commented 8 years ago

Add isCompatibleWith() for BamDataSet, e.g.

setMethodS3("isCompatibleWith", "BamDataSet", function(this, other, ...) {
  for (ii in seq_along(this)) {
    bam <- this[[ii]]
    res <- isCompatibleWith(bam, other, ...)
    if (!res) return(res)
  }
  TRUE
})
HenrikBengtsson commented 7 years ago

Completed in commit 4fd3b50