Browse code

fix forwarding args to TallyIIT

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@110224 bc3139a8-67e5-0310-9ffc-ced21a209358

Michael Lawrence authored on 02/11/2015 21:40:00
Showing1 changed files

... ...
@@ -71,7 +71,8 @@ setMethod("bam_tally", "GmapBamReader",
71 71
             param_list$genome <- NULL
72 72
             
73 73
             TallyIIT(do.call(.bam_tally_C, c(list(x), param_list)), genome,
74
-                     as(x, "BamFile"), param_list[c("xs", "read_pos")])
74
+                     as(x, "BamFile"), xs=param_list$xs,
75
+                     read_pos=param_list$read_pos)
75 76
           })
76 77
 
77 78
 variantSummary <- function(x, read_pos_breaks = NULL, high_base_quality = 0L,