harry-thorpe / piggy

Pipeline for analysing intergenic regions in bacteria
GNU General Public License v3.0
37 stars 7 forks source link

Faceting variables must have at least one value. #30

Open Mewgia opened 8 months ago

Mewgia commented 8 months ago

Dear author, i'm trying to analyze one bacterial genome using gff file from prokka as input and meet the following error: Error in combine_vars(): ! Faceting variables must have at least one value. Backtrace: ▆

  1. ├─base (local) <fn>(x)
  2. └─ggplot2:::print.ggplot(x)
  3. ├─ggplot2::ggplot_build(x)
  4. └─ggplot2:::ggplot_build.ggplot(x)
  5. └─layout$setup(data, plot$data, plot$plot_env)
  6. └─ggplot2 (local) setup(..., self = self)
  7. └─self$facet$compute_layout(data, self$facet_params)
  8. └─ggplot2 (local) compute_layout(..., self = self)
  9. └─ggplot2::combine_vars(data, params$plot_env, rows, drop = params$drop)
    1. └─cli::cli_abort("Faceting variables must have at least one value.")
    2. └─rlang::abort(...) Execution halted Making general R plots. Error in rbind(deparse.level, ...) : the number of argument columns does not match each other : rbind -> rbind Execution halted

Without -R option all works perfectly, but i need to visualize the result. could you please help me?