Skip to content

Commit

Permalink
Fix groups in PCA
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrerebeau committed Apr 9, 2024
1 parent 2d6a7be commit 2c57830
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/pca.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ setMethod(
weight_row = NULL, weight_col = NULL) {
z <- methods::callNextMethod()
z@extra <- get_features(object)

if (any_assigned(object))
z@rows@groups <- get_groups(object)

z
}
)

0 comments on commit 2c57830

Please sign in to comment.