problem with contrastive principal component analysis (cPCA)
0
0
Entering edit mode
Rahil • 0
@27060a02
Last seen 3.4 years ago
United Kingdom

Hi all,

I am working with scPCA R package to do contrastive PCA analysis. The dimension of my background dataset is 73 / 1374 and my target dataset is 445 / 13741. (samples in rows and features in columns) This is my script:

cpca_sim <- scPCA(target = df_scaled[ ,-1],
                  background = ortholog_scaled,
                  n_centers = 4,
                  penalties = 0,
                  parallel = T)

I am getting this error

Error in result[[njob]] <- value : attempt to select less than one element in OneIndex
Error in serialize(data, node$con, xdr = FALSE) : error writing to connection

Am I doing sth wrong? Can anyone help me to get rid of this error?

Many thanks!

scPCA cPCA • 656 views
ADD COMMENT
0
Entering edit mode

Hi Rahil. Sorry for the delay. This seems to be an issue with parallelization. Have you tried running this code with parallel = FALSE? How did you set up BiocParallel?

ADD REPLY

Login before adding your answer.

Traffic: 458 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6