Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error: BiocParallel errors 1 remote errors, element index: 1 #46

Open
MengjurJ opened this issue Aug 25, 2023 · 2 comments
Open

Error: BiocParallel errors 1 remote errors, element index: 1 #46

MengjurJ opened this issue Aug 25, 2023 · 2 comments

Comments

@MengjurJ
Copy link

Hi,when I was ready to simulate the pseudo bulk samples using 'custom' scenario, it reported an error.

Error: BiocParallel errors
1 remote errors, element index: 1
1 unevaluated and other errors
first remote error: invalid 'type' (character) of argument

#mycode:
simulation <- SimBu::simulate_bulk(data = ds,
scenario = "custom",
custom_scenario_data = cell_pt0,
scaling_factor = "NONE",
ncells=3000,
nsamples = 2,
BPPARAM = BiocParallel::MulticoreParam(workers = 4),
run_parallel = F)
############
However, I can run the next code successfully when use the same data
#mycode2:
simulation <- SimBu::simulate_bulk(data = ds,
scenario = "random",
custom_scenario_data = cell_pt0,
scaling_factor = "NONE",
ncells=2000,
nsamples = 1,
BPPARAM = BiocParallel::MulticoreParam(workers = 4),
run_parallel = TRUE)

Now,how to deal with the problem?

@MengjurJ MengjurJ reopened this Aug 25, 2023
@alex-d13
Copy link
Collaborator

Hi,

Can you show me, how your cell_pt0 object looks like? Maybe there is something wrong with it :)

@MengjurJ
Copy link
Author

cell_pt0 is a data.frame, as follows:

#              B.cell  CD8.T    DCs Macrophage Monocyte     NK Plasma activate.CD4.T naive.CD4.T
#sample1 0.1242 0.1366 0.0426     0.1068   0.2130 0.0976 0.0132         0.1636      0.1024

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants