git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/bsseq@86091 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -1,5 +1,5 @@ |
1 | 1 |
Package: bsseq |
2 |
-Version: 0.11.2 |
|
2 |
+Version: 0.11.3 |
|
3 | 3 |
Title: Analyze, manage and store bisulfite sequencing data |
4 | 4 |
Description: Tools for analyzing and visualizing bisulfite sequencing data |
5 | 5 |
Authors@R: c(person(c("Kasper", "Daniel"), "Hansen", role = c("aut", "cre"), |
... | ... |
@@ -88,8 +88,8 @@ plotManyRegions <- function(BSseq, regions = NULL, extend = 0, main = "", addReg |
88 | 88 |
else |
89 | 89 |
col <- rep("black", nrow(pData(object))) |
90 | 90 |
} |
91 |
- if(length(col) != nrow(object)) |
|
92 |
- col <- rep(col, length.out = nrow(object)) |
|
91 |
+ if(length(col) != ncol(object)) |
|
92 |
+ col <- rep(col, length.out = ncol(object)) |
|
93 | 93 |
if(is.null(names(col))) |
94 | 94 |
names(col) <- sampleNames(object) |
95 | 95 |
|
... | ... |
@@ -97,10 +97,10 @@ plotManyRegions <- function(BSseq, regions = NULL, extend = 0, main = "", addReg |
97 | 97 |
if("lty" %in% names(pData(object))) |
98 | 98 |
lty <- pData(object)[["lty"]] |
99 | 99 |
else |
100 |
- lty <- rep(1, nrow(pData(object))) |
|
100 |
+ lty <- rep(1, ncol(object)) |
|
101 | 101 |
} |
102 |
- if(length(lty) != nrow(object)) |
|
103 |
- lty <- rep(lty, length.out = nrow(object)) |
|
102 |
+ if(length(lty) != ncol(object)) |
|
103 |
+ lty <- rep(lty, length.out = ncol(object)) |
|
104 | 104 |
if(is.null(names(lty))) |
105 | 105 |
names(lty) <- sampleNames(object) |
106 | 106 |
|
... | ... |
@@ -110,8 +110,8 @@ plotManyRegions <- function(BSseq, regions = NULL, extend = 0, main = "", addReg |
110 | 110 |
else |
111 | 111 |
lwd <- rep(1, nrow(pData(object))) |
112 | 112 |
} |
113 |
- if(length(lty) != nrow(object)) |
|
114 |
- lty <- rep(lty, length.out = nrow(object)) |
|
113 |
+ if(length(lty) != ncol(object)) |
|
114 |
+ lty <- rep(lty, length.out = ncol(object)) |
|
115 | 115 |
if(is.null(names(lwd))) |
116 | 116 |
names(lwd) <- sampleNames(object) |
117 | 117 |
|
... | ... |
@@ -7,7 +7,10 @@ |
7 | 7 |
\item Converted to using Authors@R in the DESCRIPTIOn file. |
8 | 8 |
\item plotRegion did not respect the col/lty/lwd argument if given |
9 | 9 |
explicitely as opposed to through pData(). Reported by Karen |
10 |
- Conneely <kconnee@emory.edu>. |
|
10 |
+ Conneely <kconnee@emory.edu>. |
|
11 |
+ \item Fixed an issue introduced by the previous change (to |
|
12 |
+ plotRegion). Reported (with a fix) by Tim Triche Jr |
|
13 |
+ <tim.triche@gmail.com>. |
|
11 | 14 |
} |
12 | 15 |
} |
13 | 16 |
|