scSampler: fast diversity-preserving subsampling of large-scale single-cell transcriptomic data.

Song, Dongyuan; Xi, Nan Miles; Li, Jingyi Jessica; Wang, Lin · Bioinformatics · 2022

basic_science · Level V

Where this comes from

Abstract

The number of cells measured in single-cell transcriptomic data has grown fast in recent years. For such large-scale data, subsampling is a powerful and often necessary tool for exploratory data analysis. However, the easiest random subsampling is not ideal from the perspective of preserving rare cell types. Therefore, diversity-preserving subsampling is required for fast exploration of cell types in a large-scale dataset. Here, we propose scSampler, an algorithm for fast diversity-preserving subsampling of single-cell transcriptomic data. scSampler is implemented in Python and is published under the MIT source license. It can be installed by "pip install scsampler" and used with the Scanpy pipline. The code is available on GitHub: https://github.com/SONGDONGYUAN1994/scsampler. An R interface is available at: https://github.com/SONGDONGYUAN1994/rscsampler. Supplementary data are available at Bioinformatics online.

Medical subject headings