We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c90946 commit 7415a18Copy full SHA for 7415a18
R/cell_deconvolution.R
@@ -141,7 +141,7 @@ compute.deconvolution.preprocessing = function(deconv){
141
if(ncol(CD4)>0){
142
deconv = deconv[,-which(colnames(deconv)%in%colnames(CD4)), drop = F]
143
colnames(CD4) = stringr::str_replace(colnames(CD4), "T.cells.CD4(?!\\.cells)", "CD4.cells")
144
- colnames(deconv) <- stringr::str_replace(colnames(deconv), "_CD4$", "_CD4.cells")
+ colnames(deconv) <- stringr::str_replace(colnames(CD4), "_CD4$", "_CD4.cells")
145
colnames(CD4) = stringr::str_replace(colnames(CD4), "^CD4(?!\\.cells)", "CD4.cells")
146
}
147
0 commit comments