
  <div class="col-md-9 contents">
    <div class="page-header">
    <h1>Rotate a tree object</h1>
    <small class="dont-index">Source: <a href="https://github.com/talgalili/dendextend/blob/HEAD/R/rotate.R" class="external-link"><code>R/rotate.R</code></a></small>
    <div class="hidden name"><code>rotate.Rd</code></div>
    </div>

    <div class="ref-description">
    <p>Rotates, rev and sort the branches of a tree object (dendrogram, hclust)
based on a vector - either of labels order (numbers) or the la