zhanghao-njmu / SCP

An end-to-end Single-Cell Pipeline designed to facilitate comprehensive analysis and exploration of single-cell data.

Home Page:https://zhanghao-njmu.github.io/SCP/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RunDynamicFeatures runtime

france-hub opened this issue · comments

Hello!

Thanks for the package and nice visualizations!

I am trying to run RunDynamicFeatures and would like to ask what's the expected runtime. I think the function fits GAM similar to what tradeSeq does; however, fitGAM from TradeSeq takes ~25 min to be fitted on my machine. I tried RunDynamicFeatures on the same subset, same machine and it has been stuck on this:
Number of candidate features(union): 241 Calculate dynamic features for Lineage1...

for 12 hours now.

I tried on an object of 10k features and 21k cells and now on a subset of 2k features (selected by approximate multinomial deviance) and 21k cells.
This is the code line I am using:

cd8.sub <- RunDynamicFeatures(srt = cd8.sub, lineages = c("Lineage1", "Lineage2"), n_candidates = 200, BPPARAM = BiocParallel::MulticoreParam(workers = 10))

Is this runtime expected?

Thank you for your help!

Best,
Francesco

hi france-hub,

were you able to solve this issue? any idea how to speed this up?