tukey test only plot significant mean differences : I tried to use the following code from a previous post <https://stackoverflow.com/questions/31838046/tukey-graphing-problems-in-r>

SigOnly <- Tukey 
SigOnly$species <- SigOnly$species[SigOnly$species[,'p adj'] < .05, ]
plot(SigOnly)

But get the following error when trying to plot:
Error in xy.coords(x, y, xlabel, ylabel, log) : 
  'x' and 'y' lengths differ

What could I be doing wrong?