-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hello,
I have a large snRNA-seq dataset and am very interested in using your package. When I try to run the example code associated with the oocPCA_CSV function in the R documentation, however, I get the following issue (generated with reprex). I would appreciate any help on this issue.
Thanks!
Tricia
k_ <- 10;
m = 30;
n = 40;
B <- matrix(rexp(mk_), m)
C <- matrix(rexp(k_n), k_)
D <- B %%C;
dim(D)
#> [1] 30 40
fn = "test_csv.csv"
write.table(D,file=fn,sep=',',col.names=FALSE, row.names=FALSE)
library(oocRPCA);
fastDecomp <- oocPCA_CSV(fn, k=k_, mem=n8100, diffsnorm=TRUE)
#> Warning in system(pcacall): 'CreateProcess' failed to run 'C:
#> \Users\braun\AppData\Local\R\WIN-LI1\4.2\oocRPCA\build\FASTPC1.LIN -k 10 -csvI
#> test_csv.csv -binaryOutput oocRPCA.binmatrix -mem 32000 -l 12 -its 2'
#> Error in oocPCA_CSV(fn, k = k_, mem = n * 8 * 100, diffsnorm = TRUE): An unkonwn error has occurred during call: C:/Users/braun/AppData/Local/R/win-library/4.2/oocRPCA/build/fastpca.linux -k 10 -csvI test_csv.csv -binaryOutput oocRPCA.binmatrix -mem 32000 -l 12 -its 2
norm( D - fastDecomp$U %% fastDecomp$S %% t(fastDecomp$V))
#> Error in norm(D - fastDecomp$U %% fastDecomp$S %*% t(fastDecomp$V)): object 'fastDecomp' not found
unlink(fn)
Created on 2022-08-09 by the reprex package (v2.0.1)