Given a NMF reduction at multiple ranks, plot rank vs. test set reconstruction error to determine the optimal rank.
S3 method for Seurat that runs the singlet::RunNMF
function.
Usage
# S3 method for Seurat
RankPlot(object, reduction = "nmf")
RankPlot(object, reduction = "nmf")