Selecting Representative Samples From Complex Biological Datasets Using K-Medoids Clustering.

TitleSelecting Representative Samples From Complex Biological Datasets Using K-Medoids Clustering.
Publication TypeJournal Article
Year of Publication2022
AuthorsLi L, Lan LYu-Ling, Huang L, Ye C, Andrade J, Wilson PC
JournalFront Genet
Date Published2022

Rapid growth of single-cell sequencing techniques enables researchers to investigate almost millions of cells with diverse properties in a single experiment. Meanwhile, it also presents great challenges for selecting representative samples from massive single-cell populations for further experimental characterization, which requires a robust and compact sampling with balancing diverse properties of different priority levels. The conventional sampling methods fail to generate representative and generalizable subsets from a massive single-cell population or more complicated ensembles. Here, we present a toolkit called Cookie which can efficiently select out the most representative samples from a massive single-cell population with diverse properties. This method quantifies the relationships/similarities among samples using their Manhattan distances by vectorizing all given properties and then determines an appropriate sample size by evaluating the coverage of key properties from multiple candidate sizes, following by a k-medoids clustering to group samples into several clusters and selects centers from each cluster as the most representatives. Comparison of Cookie with conventional sampling methods using a single-cell atlas dataset, epidemiology surveillance data, and a simulated dataset shows the high efficacy, efficiency, and flexibly of Cookie. The Cookie toolkit is implemented in R and is freely available at

Custom 1

Alternate JournalFront Genet
PubMed ID35910222
PubMed Central IDPMC9335369

Weill Cornell Medicine Gale and Ira Drukier Institute for Children's Health 413 E. 69th Street New York, NY 10021