Browse code

use pruning.mode="coarse" instead of force=TRUE when calling seqlevels() setter

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

Herve Pages authored on 29/04/2017 21:23:05
Showing 2 changed files

... ...
@@ -1,7 +1,7 @@
1 1
 Package: SplicingGraphs
2 2
 Title: Create, manipulate, visualize splicing graphs, and assign RNA-seq reads
3 3
 	to them
4
-Version: 1.17.0
4
+Version: 1.17.1
5 5
 Encoding: UTF-8
6 6
 Author: D. Bindreither, M. Carlson, M. Morgan, H. Pagès
7 7
 License: Artistic-2.0
... ...
@@ -19,9 +19,9 @@
19 19
     ## Drop all sequence levels but the one level that is used by the single
20 20
     ## range in 'subject'.
21 21
     seqlevels(subject) <- as.character(seqnames(subject))
22
-    ## Set the same one sequence level on 'query'. Use 'force=TRUE' to remove
23
-    ## the elements in 'query' that are not on that sequence level.
24
-    seqlevels(query, force=TRUE) <- seqlevels(subject)
22
+    ## Set the same one sequence level on 'query'. Use 'pruning.mode="coarse"'
23
+    ## to remove the elements in 'query' that are not on that sequence level.
24
+    seqlevels(query, pruning.mode="coarse") <- seqlevels(subject)
25 25
 
26 26
     query_ranges <- granges(query)
27 27
     strand(query_ranges) <- "*"