Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion alra.R
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ alra.low.memory <- function( A_norm, k=0,q=10, quantile.prob = 0.001, use.mkl =
# A_norm_rank15_cor <- result.completed[[3]] # The actual adjusted, completed matrix

cat(sprintf("Read matrix with %d cells and %d genes\n", nrow(A_norm), ncol(A_norm)))
if (class(A_norm) != 'matrix') {
if(!("matrix" %in% class(A_norm))) {
stop(sprintf("A_norm is of class %s, but it should be of class matrix. Did you forget to run as.matrix()?",class(A_norm)))
}

Expand Down