pRRophetic包

在使用pRRophetic包中的pRRopheticPredict函数时,出现如下报错,是因为测试集不是矩阵嘛,但是查看数据类型显示的是“matrix” “array”,希望可以答疑解惑,感谢!
Error in if (class(testExprData) != "matrix") stop("ERROR: "testExprData" must be a matrix.") :
the condition has length > 1