Sign in
BioinformaticsBioinformatics
Peer-reviewed journal article

findPC: An R package to automatically select number of principal components in single-cell analysis

Haotian ZhuangiD, Huimin WangiD, Zhicheng JiiD

Abstract

SummaryPrincipal component analysis (PCA) is widely used in analyzing single-cell genomic data. Selecting the optimal number of PCs is a crucial step for downstream analyses. The elbow method is most commonly used for this task, but it requires one to visually inspect the elbow plot and manually choose the elbow point. To address this limitation, we developed six methods to automatically select the optimal number of PCs based on the elbow method. We evaluated the performance of these methods on real single-cell RNA-seq data from multiple human and mouse tissues. The perpendicular line method with 20 PCs has the best overall performance, and its results are highly consistent with the numbers of PCs identified manually. We implemented the six methods in an R package, findPC, that objectively selects the number of PCs and can be easily incorporated into any automatic analysis pipeline. Availability and ImplementationfindPC R package is freely available at https://github.com/haotian-zhuang/findPC Contactzhicheng.ji@duke.edu Supplementary informationSupplementary data are available at Bioinformatics online.

PDFDOICode

02 /Specification & Classification

Click any tag to browse matching papers

Reproducibility ledger

Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.

Sign in to file a reproducibility report.