Skip to content

Commit

Permalink
specify namespace for gather (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaSeep authored Nov 23, 2022
1 parent 6378e5d commit f7fc7ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/shinyApp/R/pca/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ pca_Server <- function(id, omic_type, row_select){
entitiesToInclude <- apply(df_loadings_filtered, 1, any)

df_loadings <- df_loadings[entitiesToInclude,] %>%
gather(key = "PC", value = "loading", -entity)
tidyr::gather(key = "PC", value = "loading", -entity)

global_max <- max(df_loadings$loading)
global_min <- -global_max
Expand Down

0 comments on commit f7fc7ab

Please sign in to comment.