Skip to content

Commit 7415a18

Browse files
committed
Fix bug naming CD4
1 parent 3c90946 commit 7415a18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/cell_deconvolution.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ compute.deconvolution.preprocessing = function(deconv){
141141
if(ncol(CD4)>0){
142142
deconv = deconv[,-which(colnames(deconv)%in%colnames(CD4)), drop = F]
143143
colnames(CD4) = stringr::str_replace(colnames(CD4), "T.cells.CD4(?!\\.cells)", "CD4.cells")
144-
colnames(deconv) <- stringr::str_replace(colnames(deconv), "_CD4$", "_CD4.cells")
144+
colnames(deconv) <- stringr::str_replace(colnames(CD4), "_CD4$", "_CD4.cells")
145145
colnames(CD4) = stringr::str_replace(colnames(CD4), "^CD4(?!\\.cells)", "CD4.cells")
146146
}
147147

0 commit comments

Comments
 (0)