Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

script: doc/mc-paper/fly/cluster-svs.R error #1565

Open
C-YONG opened this issue Dec 17, 2024 · 0 comments
Open

script: doc/mc-paper/fly/cluster-svs.R error #1565

C-YONG opened this issue Dec 17, 2024 · 0 comments

Comments

@C-YONG
Copy link

C-YONG commented Dec 17, 2024

We encountered the following error during the computation using the script. Could you help identify the possible cause?

svs = lapply(list.files('pan_svs/', '.rds'), function(fn){
gr = readRDS(paste0('pan_svs/', fn))
gr$sample = gsub('(.
)\.decomposed.svs.rds', '\1', fn)
gr
})

svs = clusterSVs(svs, range.seq.comp=TRUE, ins.seq.comp=TRUE, nb.cores=16, batch.maxsize=500, simprep=sr, min.rol=.9, max.ins.dist=100)

Error: unable to find an inherited method for function ‘reduce’ for signature ‘x = "list"’

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

No branches or pull requests

1 participant