Skip to content

Commit

Permalink
fix missing colnames in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ischeller committed Apr 16, 2024
1 parent a97d4da commit 086f4f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/AllGenerics.R
Original file line number Diff line number Diff line change
Expand Up @@ -1111,6 +1111,9 @@ aberrant.FRASER <- function(object, type=fitMetrics(object),
aberrantEvents <- aberrantEvents & as.matrix(rho <= rhoCutoff)
}
aberrantEvents[is.na(aberrantEvents)] <- FALSE
if(is.null(colnames(aberrantEvents))){
colnames(aberrantEvents) <- colnames(object)
}
}

if(isTRUE(aggregate)){
Expand Down

0 comments on commit 086f4f9

Please sign in to comment.