With the last line I got the error message that others have had before: "Error in irlba(A = t(x = object), nv = npcs, ...) : max(nu, nv) must be positive In addition: Warning message: In PrepDR(object = object, features = features, verbose = verbose) : The following 2000 f...
(x = object), nv = npcs, ...) : # max(nu, nv) must be positive # In addition: Warning message: # In PrepDR(object = object, features = features, verbose = verbose) : # The following 3000 features requested have zero variance (running reduction without them): LYZ, HBA1, HBB, ...
Error in irlba(A = t(x = object), nv = npcs, ...) : max(nu, nv) must be strictly less than min(nrow(A), ncol(A)) 简单来说就是你的细胞数小于50。 npcs的选择是默认为50。PC当然要小于矩阵的行数或列数中的最小值。所以只需修改默认值即可。 解决方案: pbmc <- RunPCA(pbmc, npcs...