You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error message of 'ReadMtx' function is not accurate.
The current code is:
if (length(x = feature.names) != nrow(x = data)) {
stop(
"Matrix has ",
ncol(data),
" rows but found ", length(feature.names),
" features. ",
ifelse(
test = length(x = feature.names) > nrow(x = data),
yes = "Try increasing `skip.feature`. ",
no = ""
),
call. = FALSE
)
}
This codes was checking the number of genes and the number of rows in the matrix.
For the error message, instead of ncol(data), it's actually nrow(data).
The text was updated successfully, but these errors were encountered:
The error message of 'ReadMtx' function is not accurate.
The current code is:
This codes was checking the number of genes and the number of rows in the matrix.
For the error message, instead of
ncol(data)
, it's actuallynrow(data)
.The text was updated successfully, but these errors were encountered: