git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/crlmm@53848 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -2290,6 +2290,15 @@ posteriorMean.snp <- function(stratum, object, index.list, CN, |
2290 | 2290 |
cn3=4, |
2291 | 2291 |
cn4=4, |
2292 | 2292 |
cn5=6, NULL) |
2293 |
+ } |
|
2294 |
+ ##emit <- vector("list", length(sample.index)) |
|
2295 |
+ for(j in seq_along(sample.index)){ |
|
2296 |
+ cat("batch ", j, "\n") |
|
2297 |
+ J <- sample.index[[j]] |
|
2298 |
+ probs <- array(NA, dim=c(nrow(a), length(J), S)) |
|
2299 |
+ for(k in seq_along(CN)){ |
|
2300 |
+ CT <- CN[k] |
|
2301 |
+ ## 5: AAAAA, AAAAB, AAABB, AABBB, ABBBB, BBBBB |
|
2293 | 2302 |
##CN=4 |
2294 | 2303 |
## AAAA, AAAB, AABB, ABBB, BBBB: L = 4 |
2295 | 2304 |
##CN=3 |