Description Usage Arguments Value
View source: R/tree-force-layout.R
This function can be used in addition to treeForceRotateCoords
in order to fine-tune the presentation of a force-directed layout. For instance,
this can be used to achieve an improved 2D visualization by modifying overlapping
portions of the layout.
1 | treeForceTranslateCoords(object, cells = NULL, seg = NULL, x, y, z)
|
object |
An URD object |
cells |
(Character vector) Cells to modify (Default |
seg |
(Character) Instead of specifying cells, just grab all cells from this segment and downstream. Ignored if |
x |
(Numeric) Distance to move cells along x-axis |
y |
(Numeric) Distance to move cells along y-axis |
z |
(Numeric) Distance to move cells along z-axis |
An URD object with the coordinates of some cells in @tree$walks.force.layout
modified.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.