Error in irlba(A = t(x = object), nv =npcs, ...) :max(nu, nv) must be positive image.png 是因为前面有一行没有运行。导致数据出错。 eval = FALSE 去掉