News for hackers. Stuff that matters.
Re:Enhancing R: The Vision and Impact of Jan Vitek's Maintai... by _Wintermute on Thursday May 16, 2024 @03:56AM (#40376134)
> R is also thriving in bioinformatics with Python trailing behind as an afterthought.

Maybe this is sub-field dependent, I'm a bioinformatician who hasn't touched R in about 5 years, and everything is now in python.

Re:Enhancing R: The Vision and Impact of Jan Vitek's Maintai... by enmce on Thursday May 16, 2024 @05:24AM (#40376540)
Same expirience,about 13 years in the field, most tasks done in python.
Re:Enhancing R: The Vision and Impact of Jan Vitek's Maintai... by tetris11 on Thursday May 16, 2024 @07:20AM (#40377075)
oh wow, I made a sweeping generalization - apologies. In single cell, bulk RNA-seq, ATAC, ChIP, I'd say that there are more R packages for the analysis of these omics than Python packages.
Re:Enhancing R: The Vision and Impact of Jan Vitek's Maintai... by flobosg on Thursday May 16, 2024 @07:44AM (#40377182)
Python is catching up on single-cell transcriptomics; see AnnData, Scanpy, et al.
Re:Enhancing R: The Vision and Impact of Jan Vitek's Maintai... by tetris11 on Thursday May 16, 2024 @10:47AM (#40379109)
ScanPy/AnnData has been dead in the water for a while now, and most people use Seurat due to its operability with many many downstream extensions
Re:Enhancing R: The Vision and Impact of Jan Vitek's Maintai... by flobosg on Thursday May 16, 2024 @12:05PM (#40379988)
> has been dead in the water for a while now

Both are under active development and are used in several transcriptomics atlas projects, as far as I can tell.

Re:Enhancing R: The Vision and Impact of Jan Vitek's Maintai... by tetris11 on Thursday May 16, 2024 @02:39PM (#40381717)
Those atlases were established back when Scanpy and Seurat were relatively beta and were still fighting out the tool space.

Look at the packages now for integration, pseudo time, pseudobulk - R (and therefore Seurat) dominates heavily

Re:Enhancing R: The Vision and Impact of Jan Vitek's Maintai... by valarauko on Thursday May 16, 2024 @05:45PM (#40383645)
Disagree - Seurat had first mover advantage with single cell but sucked with larger datasets that Scanpy could handle till the big change in Seurat 5. The preference for either Seurat/Scanpy is incredibly lab specific. That said, Seurat is better documented for sure, but the ecosystem for both is incredibly rich and flourishing.
Re:Enhancing R: The Vision and Impact of Jan Vitek's Maintai... by cd4plus on Thursday May 16, 2024 @09:25PM (#40385379)
yeah, I also disagree with this. It's true Seurat is still heavily used for scRNA/scATAC but I see most new models increasingly being written/tooled for python and based on anndata. Geneformer, scGPT, scVI etc. I wish there was better operability between the scverse stuff and Seurat, but Seurat went their own way from SCE/bioconductor so that's probably not going to happen.
Re:Enhancing R: The Vision and Impact of Jan Vitek's Maintai... by tetris11 on Wednesday May 22, 2024 @03:16AM (#40438190)
To be fair to them, getting anything submitted to buoconductor requires a ton of effort, and the pay off is often less concise code
Re:Enhancing R: The Vision and Impact of Jan Vitek's Maintai... by _Wintermute on Friday May 17, 2024 @03:28AM (#40387352)
I have no dog in the Scanpy/Seurat argument, but AnnData is becoming very popular as a data format even outside of single-cell omics.
Re:Enhancing R: The Vision and Impact of Jan Vitek's Maintai... by mbreese on Thursday May 16, 2024 @08:54AM (#40377766)
It’s also training dependent.

It took a long time for Perl to go away from daily use in bioinformatics, solely dependent upon how common it was twenty years ago.

In our lab, there is me, a (mid career) polyglot who mixes Python, Go, Java, and R daily. I use tab delimited text files to transfer data. I also grew up coding in C++ and like learning new languages.

We also have a (mid career) staff scientist who grew up in Perl, but switched 100% to R and an (early career) postdoc who has always used 100% R. For both of these people, if work can be done in R, it is. If it can’t be done in R, they figure out how to do it in R anyway (even if that is shelling out to another program).

We also have a (young) grad student that is 95% Python. They try to keep to the Python tooling, even though they are quite aware of the R ecosystem.

There is a generational shift in the field, and it is more apparent each year. I find it interesting that Python took over from Perl first and now it’s trying to take over from R.