We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10c9b66 commit 45485b7Copy full SHA for 45485b7
R/generateShinyApp.R
@@ -123,6 +123,9 @@ validateAppInputs <- function(
123
expression.matrix = expression.matrix,
124
metadata = metadata
125
){
126
+ if(!is.matrix(expression.matrix)){
127
+ stop("The expression matrix must be a matrix")
128
+ }
129
if(ncol(expression.matrix) != nrow(metadata)){
130
stop("Detected different number of columns in expression.matrix to rows in metadata")
131
}else if(!identical(colnames(expression.matrix), metadata[[1]])){
0 commit comments