Mercurial > repos > iuc > dropletutils
comparison scripts/dropletutils.Rscript @ 7:da5ecdcfc9ee draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dropletutils/ commit 0a1586a00f94215b8182423e4b2f34fdf706a47d"
| author | iuc | 
|---|---|
| date | Thu, 07 Jan 2021 19:36:16 +0000 | 
| parents | a79cf05ca77d | 
| children | 0897e5d845c4 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 6:a79cf05ca77d | 7:da5ecdcfc9ee | 
|---|---|
| 155 | 155 | 
| 156 brout <- do.call(barcodeRanks, c(bparams)) | 156 brout <- do.call(barcodeRanks, c(bparams)) | 
| 157 | 157 | 
| 158 png(files$plot) | 158 png(files$plot) | 
| 159 plot(brout$rank, brout$total, log = "xy", | 159 plot(brout$rank, brout$total, log = "xy", | 
| 160 xlab = "(log) Rank", ylab = "(log) Total Number of Barcodes") | 160 xlab = "(log) Rank", ylab = "(log) Total UMI Counts") | 
| 161 o <- order(brout$rank) | 161 o <- order(brout$rank) | 
| 162 lines(brout$rank[o], brout$fitted[o], col = "red") | 162 lines(brout$rank[o], brout$fitted[o], col = "red") | 
| 163 | 163 | 
| 164 abline(h = brout$knee, col = "dodgerblue", lty = 2) | 164 abline(h = brout$knee, col = "dodgerblue", lty = 2) | 
| 165 abline(h = brout$inflection, col = "forestgreen", lty = 2) | 165 abline(h = brout$inflection, col = "forestgreen", lty = 2) | 
