File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -1083,12 +1083,9 @@ check_bpcells_counts_matrix_pair <- function(cds) {
10831083# '
10841084# ' @export
10851085convert_counts_matrix <- function (cds , matrix_control = list ()) {
1086- assertthat :: assert_that(is.list(matrix_control ) && length( matrix_control ) > 0 ,
1086+ assertthat :: assert_that(is.list(matrix_control ),
10871087 msg = ' convert_counts_matrix: invalid matrix_control parameter' )
10881088
1089- assertthat :: assert_that(! is.null(matrix_control [[' matrix_class' ]]),
1090- msg = ' convert_counts_matrix: matrix_control[[\' matrix_class\' ]] missing in matrix_control list.' )
1091-
10921089 matrix_control_default <- tryCatch(set_matrix_control_default(matrix_control = matrix_control , control_type = ' unrestricted' ),
10931090 error = function (c ) { stop(paste0(trimws(c ), ' \n * error in convert_counts_matrix' )) })
10941091
You can’t perform that action at this time.
0 commit comments