]> git.donarmstrong.com Git - rsem.git/commitdiff
Removed a too stringent sanity check in rsem-gen-transcript-plots
authorBo Li <bli@cs.wisc.edu>
Fri, 5 Apr 2013 18:16:29 +0000 (13:16 -0500)
committerBo Li <bli@cs.wisc.edu>
Fri, 5 Apr 2013 18:18:18 +0000 (13:18 -0500)
rsem-gen-transcript-plots

index 21d1db829174ca56e3c25a3f1afe59085db492af..552632a5534272dacba75f68accadbe24ffc7367 100755 (executable)
@@ -76,7 +76,7 @@ generate_a_page <- function(tids, gene_id = NULL) {
       vec <- readdepth_uniq[[tids[i]]]
       stopifnot(!is.null(vec))
       if (is.na(vec[[2]])) wiggle_uniq <- rep(0, vec[[1]]) else wiggle_uniq <- as.numeric(unlist(strsplit(vec[[2]], split = " ")))
-      stopifnot(len == length(wiggle_uniq), len == sum(wiggle >= wiggle_uniq))
+#      stopifnot(len == length(wiggle_uniq), len == sum(wiggle >= wiggle_uniq)) 
       heights <- rbind(wiggle_uniq, wiggle - wiggle_uniq)      
       barplot(heights, space = 0, border = NA, names.arg = 1:len, col = c("black", "red")) 
     }