Skip to content

Commit

Permalink
Removed grouping in get_top_features output
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviaAB committed Jan 26, 2024
1 parent 3145334 commit 3cdc62e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/output_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ get_top_features <- function(method_output,
}

res <- join_features_metadata(res, mo_data) |>
dplyr::arrange(latent_dimension, dataset, dplyr::desc(importance))
dplyr::arrange(latent_dimension, dataset, dplyr::desc(importance)) |>
dplyr::ungroup()

return(res)
}
Expand Down

0 comments on commit 3cdc62e

Please sign in to comment.