Skip to content

Commit 2ffab58

Browse files
authored
Add files via upload
1 parent 1fa5af3 commit 2ffab58

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

R/sce2array.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ sce2array <- function(object, model_name = NULL,norm_output = TRUE){
5656
for(ct in names(table(CellLabel))){
5757
array[,,ct] = Exp[,CellLabel %in% ct]
5858
}
59+
array = array[,,colnames(object@ref)]
5960
array
6061
}
6162

0 commit comments

Comments
 (0)