talgalili / dendextend

Extending R's Dendrogram Functionality
153 stars 29 forks source link

dend_diff changes plot settings #37

Closed TomKellyGenetics closed 7 years ago

TomKellyGenetics commented 7 years ago

After running dend_diff my par is set for mfrow=c(2,1) when I run other plots afterwards. Is there a way to restrict the scope of this that it either:

1) Reverts to the original options for par or 2) Defaults to par(mfrow=c(1,1)) once it has completed

I suspect this may make it difficult to use in a script. The documentation is ambiguous as to what "side by side" means. Perhaps it would be beneficial to clarify that these are separate plots, plotted horizontally.

talgalili commented 7 years ago

Thanks for the bug report @TomKellyGenetics (this is indeed a bug). It is now resolved in the most recent version on github.

Cheers, Tal