Skip to content

Conversation

@zyllifeworld
Copy link

function process_abundance_expression_info and get_DE_info now support multi-threads computation by pass params BPPARAM = BPPARAM.

BPPARAM <- BiocParallel::bpparam()
BPPARAM$workers <- 10
abundance_expression_info = process_abundance_expression_info(
  sce = sce, 
  sample_id = sample_id, group_id = group_id, celltype_id = celltype_id, 
  min_cells = min_cells, 
  senders_oi = senders_oi, receivers_oi = receivers_oi, 
  lr_network = lr_network, 
  frq_list = frq_list, 
  abundance_info = abundance_info,BPPARAM = BPPARAM)

DE_info = get_DE_info(
  sce = sce, 
  sample_id = sample_id, group_id = group_id, celltype_id = celltype_id, 
  batches = NA, covariates = covariates, 
  contrasts_oi = contrasts_oi, 
  min_cells = min_cells, 
  expressed_df = frq_list$expressed_df,BPPARAM = BPPARAM)

function **process_abundance_expression_info** and **get_DE_info now**support multi-threads couputation by pass params  BPPARAM = BPPARAM.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant