git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/gmapR@69208 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -182,15 +182,10 @@ setAs("GsnapParam", "list", function(from) { |
182 | 182 |
to$db <- genome(to$genome) |
183 | 183 |
to$dir <- path(directory(to$genome)) |
184 | 184 |
to$genome <- NULL |
185 |
- if(!is.null(to$snps)) { |
|
186 |
- to$use_snps <- name(to$snps) |
|
187 |
- } else { |
|
188 |
- to$use_snps <- NULL |
|
189 |
- } |
|
185 |
+ to$use_snps <- name(to$snps) |
|
190 | 186 |
to$snpsdir <- path(directory(to$snps)) |
191 |
- to$snps <- NULL |
|
192 | 187 |
to$novelsplicing <- as.integer(to$novelsplicing) |
193 |
- |
|
188 |
+ to <- rename(to, splicing = "use_splicing") |
|
194 | 189 |
extras <- to$extra |
195 | 190 |
to <- c(to, extras) |
196 | 191 |
to$extra <- NULL |