Plots the results of the approximate rank selection process for ALRA.
ALRAChooseKPlot(object, start = 0, combine = TRUE)
Seurat object
Index to start plotting singular value spacings from. The transition from "signal" to "noise" in the is hard to see because the first singular value spacings are so large. Nicer visualizations result from skipping the first few. If set to 0 (default) starts from k/2.
Combine plots into a single patchworked
ggplot object. If FALSE
, return a list of ggplot objects
A list of 3 patchworked
ggplot objects
splotting the singular values, the spacings of the singular values, and the
p-values of the singular values.