alanocallaghan / scater

Clone of the Bioconductor repository for the scater package.
https://bioconductor.org/packages/devel/bioc/html/scater.html
95 stars 40 forks source link

runPCA Variance Explained not Recorded #202

Closed DarioS closed 1 year ago

DarioS commented 1 year ago

Would it be useful to have verbose parameter and print the proportion of variance explained by each dimension?

alanocallaghan commented 1 year ago
example_sce <- mockSCE()
example_sce <- logNormCounts(example_sce)

example_sce <- runPCA(example_sce)
attributes(reducedDim(example_sce))$percentVar