rnabioco / djvdj

An R package to analyze single-cell V(D)J data
https://rnabioco.github.io/djvdj
Other
23 stars 4 forks source link

Reproducibility issues #145

Closed Ahmedalaraby20 closed 1 month ago

Ahmedalaraby20 commented 2 months ago

Hey Rayn, So I ran

run1 |> plot_diversity(data_col = "cdr3", cluster_col = "seurat_clusters",chain = "TRA" , downsample = T, method  = div_fns, alpha = 0.5, linetype = 2, color    = "black",n_boots = 150)

and each time I run it I get a slightly different output TCR1 TCR2 TCR3

I usually have set.seed("44") but it looks like it's not helping

The same happens when downsample = F djvdj.zip

sheridar commented 1 month ago

Hi @Ahmedalaraby20, I have not been able to reproduce this issue. Try running set.seed() before each time you run the command, this should ensure reproducible results