0

Image

Basically I have some graphs I am working on and they are facetted by Groups (there are four). The X axis are samples but as you can see my Groups are still showing blank samples from other groups. Is there a way to change this? I have posted my code below. Any help would be appreciated! Thanks!

p = plot_bar(phyloseq_merged, "Samples", fill = "Class", facet_grid =~Location) 
p
Z.Lin
  • 28,055
  • 6
  • 54
  • 94
user3105519
  • 309
  • 4
  • 10
  • You may get a quicker response by posting an issue to the `phyloseq` github page: https://github.com/joey711/phyloseq/issues – bdemarest Jan 03 '19 at 07:37

1 Answers1

0

added facet_grid(~Example, scales="free") and it removed the empty columns

user3105519
  • 309
  • 4
  • 10