Plot an object of class aRchi
Plot an object of class aRchi.
## S4 method for signature 'aRchi,ANY' plot( x, y, transparency = 1, color = "white", bg = "black", lwd = 3, show_point_cloud = FALSE, skeleton = TRUE )
x |
An aRchi object |
y |
Unused (inherited from R base) |
transparency |
The transparency of the cylinders |
color |
The color of the cylinders. Can be either a single color or a level of organization:
"branching_order" for branching branching_order, "cylinder" to coloryze each cylinder independently, "segment" to coloryze the branch segments, "axis" to coloryze the axis, "A0" to colorize only the main axis from |
bg |
The background color |
lwd |
line width of the skeleton |
show_point_cloud |
logical (Default = |
skeleton |
logical (Default is |
Plot an object of class aRchi in a 3d device. The QSM can be plotted according to different level of organization and the point cloud can be displayed if available.
# Read an aRchi file with at least a QSM file=system.file("extdata","Tree_1_aRchi.aRchi",package = "aRchi") Tree1_aRchi=read_aRchi(file) # Plot the QSM by coloring the branching order plot(Tree1_aRchi,color="branching_order") # Same with the fleshed cylinder and the point cloud plot(Tree1_aRchi,color="branching_order",skeleton=FALSE,show_point_cloud=TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.