Skip to content

Commit 65441d4

Browse files
committed
Copy Global code from NIDAP
1 parent a536fc5 commit 65441d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

R/Process_Raw_Data.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ processRawData <- function(input,
465465
## determine if Slot contains CITEseq or HTO data
466466
## CITEseq data and HTO data
467467
print('Antibody Capture Matrix detected')
468-
if (any(grepl("HTO*",rownames(obj.list[[i]][k][[j]])))) {
468+
if (any(grepl("HTO.*",rownames(obj.list[[i]][k][[j]])))) {
469469
print("HTO matrix detected")
470470

471471
## Extract HTO matrix
@@ -621,7 +621,7 @@ processRawData <- function(input,
621621

622622
## Move original sample name column to second position in so metadata
623623
so.orig.nf[[i]]@meta.data=relocate(so.orig.nf[[i]]@meta.data,
624-
sample.name.column,
624+
,
625625
.after = orig.ident)
626626

627627
## change orig.ident col to new name
@@ -823,3 +823,4 @@ processRawData <- function(input,
823823

824824

825825

826+

0 commit comments

Comments
 (0)