Skip to content

Commit 39fa16d

Browse files
author
SuiYue-2308
committed
Keep the lowMemory parameter and the warning meaasge
1 parent 8f6e9c5 commit 39fa16d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

R/bambu.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
bambu <- function(reads, annotations = NULL, genome = NULL, NDR = NULL,
139139
mode = NULL, opt.discovery = NULL, opt.em = NULL, rcOutDir = NULL, discovery = TRUE,
140140
assignDist = TRUE, quant = TRUE, stranded = FALSE, ncore = 1, yieldSize = NULL,
141-
trackReads = FALSE, returnDistTable = FALSE,
141+
trackReads = FALSE, returnDistTable = FALSE, lowMemory = FALSE,
142142
fusionMode = FALSE, verbose = FALSE, demultiplexed = FALSE, spatial = NULL, quantData = NULL,
143143
sampleNames = NULL, cleanReads = FALSE, dedupUMI = FALSE, barcodesToFilter = NULL, clusters = NULL,
144144
processByChromosome = FALSE, processByBam = TRUE) {
@@ -165,6 +165,8 @@ bambu <- function(reads, annotations = NULL, genome = NULL, NDR = NULL,
165165
returnDistTable <- TRUE
166166
}
167167
}
168+
if(lowMemory)
169+
message("lowMemory has been deprecated and split into processByChromosome and processByBam. Please see Documentation")
168170
if(is.null(annotations)){
169171
annotations <- GRangesList()
170172
} else {

0 commit comments

Comments
 (0)