Removed uniused variable
This commit is contained in:
parent
f4b6748210
commit
0427dcc6ad
@ -51,7 +51,6 @@ determine.background.to.remove = function(fullCellMatrix, cellMatrix, emptyDropl
|
|||||||
# determines the highest expression value found for every gene in the droplets that we're sure don't contain cells
|
# determines the highest expression value found for every gene in the droplets that we're sure don't contain cells
|
||||||
backGroundMax = as.vector(rowMax(fullCellMatrix[,Matrix::colSums(fullCellMatrix) < emptyDropletCutoff]))
|
backGroundMax = as.vector(rowMax(fullCellMatrix[,Matrix::colSums(fullCellMatrix) < emptyDropletCutoff]))
|
||||||
names(backGroundMax) = rownames(fullCellMatrix)
|
names(backGroundMax) = rownames(fullCellMatrix)
|
||||||
nCell = ncol(cellMatrix)
|
|
||||||
|
|
||||||
# droplets that are empty but not unused barcodes, unused barcodes have zero reads assigned to them.
|
# droplets that are empty but not unused barcodes, unused barcodes have zero reads assigned to them.
|
||||||
nEmpty = table((Matrix::colSums(fullCellMatrix) < emptyDropletCutoff) &(Matrix::colSums(fullCellMatrix) > 0))[2]
|
nEmpty = table((Matrix::colSums(fullCellMatrix) < emptyDropletCutoff) &(Matrix::colSums(fullCellMatrix) > 0))[2]
|
||||||
|
Loading…
Reference in New Issue
Block a user