Browse code

refer to txTP53 in unit test instead of undeclared tx

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

Dan Tenenbaum authored on 28/09/2012 01:23:00
Showing 2 changed files

... ...
@@ -10,7 +10,7 @@ Description: GSNAP and GMAP are a pair of tools to align short-read
10 10
     to work with GMAP and GSNAP from within R. In addition, it provides 
11 11
     methods to tally alignment results on a per-nucleotide basis using 
12 12
     the bam_tally tool.
13
-Version: 0.99.26
13
+Version: 0.99.27
14 14
 Depends: R (>= 2.15.0), methods, GenomicRanges
15 15
 Imports: IRanges, Rsamtools (>= 1.7.4), rtracklayer (>= 1.17.15), GenomicRanges,
16 16
          GenomicFeatures, Biostrings, VariantAnnotation, tools, Biobase
... ...
@@ -64,7 +64,7 @@ test_GmapGenome_spliceSites_replacement <- function() {
64 64
     eg <- org.Hs.egSYMBOL2EG[["TP53"]]
65 65
     txTP53 <- transcripts(TxDb.Hsapiens.UCSC.hg19.knownGene,
66 66
                           vals = list(gene_id = eg))
67
-    rngs <- GRanges(ranges=IRanges(start(range(tx)), end(range(tx))),
67
+    rngs <- GRanges(ranges=IRanges(start(range(txTP53)), end(range(txTP53))),
68 68
                     seqnames="chr17")
69 69
     rngs + 1e6
70 70
   }