Skip to content

Commit

Permalink
fix: dropped columns constant metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
selkamand committed Apr 17, 2023
1 parent 244174d commit 381d77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/oncoplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ ggoncoplot <- function(.data,
## Draw sample metadata plots ---------------------------------------------------------
if(!is.null(metadata)){
gg_metadata <- gg1d::gg1d_plot(
metadata |> dplyr::mutate(constant = rep(1, times = nrow(metadata))),
metadata,
col_id = col_samples_metadata, cols_to_plot = cols_to_plot_metadata,
interactive = FALSE, show_legend_titles = TRUE, verbose = FALSE,
legend_nrow = NULL,
Expand Down

0 comments on commit 381d77b

Please sign in to comment.