Skip to content

Commit 887dabc

Browse files
committed
remove redundant code to factor CB column
1 parent 93b2e7d commit 887dabc

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

R/prepareDataFromBam.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ prepareDataFromBam <- function(bamFile, yieldSize = NULL, verbose = FALSE,
102102
readGrgList <- readGrgList[[1]]
103103
}
104104

105-
if (demultiplexed){
106-
mcols(readGrgList)$CB <- as.factor(mcols(readGrgList)$CB)
107-
}
108-
109105
# remove microexons of width 1bp from list
110106
readGrgList <- readGrgList <- readGrgList[sum(width(readGrgList)) > 1]
111107
numNoCBs <- sum(is.na(mcols(readGrgList)$CB))

0 commit comments

Comments
 (0)