git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/crlmm@43147 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -332,7 +332,11 @@ is decoded and scanned |
332 | 332 |
* added CNSet class |
333 | 333 |
* segmentData slot in CNSet class is an extension of RangedData (defined in IRanges package) |
334 | 334 |
|
335 |
-2009-11-19 R. Scharpf - committed version 1.5.6 |
|
335 |
+2009-11-19 R. Scharpf - committed version 1.5.6 |
|
336 | 336 |
|
337 |
- * fixed bug in initialization of SnpCallSetPlus |
|
337 |
+ * fixed bugs in initialization of SnpCallSetPlus |
|
338 |
+ |
|
339 |
+2009-11-19 R. Scharpf - committed version 1.5.7 |
|
340 |
+ |
|
341 |
+ * fixed bugs in addFeatureAnnotation.SnpCallSetPlus |
|
338 | 342 |
|
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Package: crlmm |
2 | 2 |
Type: Package |
3 | 3 |
Title: Genotype Calling (CRLMM) and Copy Number Analysis tool for Affymetrix SNP 5.0 and 6.0 and Illumina arrays. |
4 |
-Version: 1.5.6 |
|
4 |
+Version: 1.5.7 |
|
5 | 5 |
Date: 2009-11-15 |
6 | 6 |
Author: Rafael A Irizarry, Benilton S Carvalho <bcarvalh@jhsph.edu>, Robert Scharpf <rscharpf@jhsph.edu>, Matt Ritchie <mritchie@wehi.EDU.AU> |
7 | 7 |
Maintainer: Benilton S Carvalho <bcarvalh@jhsph.edu>, Robert Scharpf <rscharpf@jhsph.edu>, Matt Ritchie <mritchie@wehi.EDU.AU> |
... | ... |
@@ -1761,11 +1761,11 @@ addFeatureAnnotation.SnpCallSetPlus <- function(object, ...){ |
1761 | 1761 |
isSnp[I])) |
1762 | 1762 |
colnames(tmp.fd) <- c("chromosome", "position", "isSnp") |
1763 | 1763 |
if("chromosome" %in% fvarLabels(object)) |
1764 |
- tmp.fd <- tmp.fd[ -1] |
|
1764 |
+ tmp.fd <- tmp.fd[, -1] |
|
1765 | 1765 |
if("position" %in% fvarLabels(object)) |
1766 |
- tmp.fd <- tmp.fd[ -2] |
|
1766 |
+ tmp.fd <- tmp.fd[, -grep("position", colnames(tmp.fd)), drop=FALSE] |
|
1767 | 1767 |
if("isSnp" %in% fvarLabels(object)) |
1768 |
- tmp.fd <- tmp.fd[ -3] |
|
1768 |
+ tmp.fd <- tmp.fd[, -grep("isSnp", colnames(tmp.fd)), drop=FALSE] |
|
1769 | 1769 |
rownames(tmp.fd) <- featureNames(object) |
1770 | 1770 |
tmp <- new("AnnotatedDataFrame", |
1771 | 1771 |
data=tmp.fd, |