alanocallaghan / scater

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

runPCA Variance Explained not Recorded #202

Closed DarioS closed 11 months ago

DarioS commented 11 months ago

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

alanocallaghan commented 11 months ago
example_sce <- mockSCE()
example_sce <- logNormCounts(example_sce)

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