plot3d.templatebrain: Plot 3D surface of a template brain

View source: R/plotting.R

plot3d.templatebrainR Documentation

Plot 3D surface of a template brain

Description

Plot 3D surface of a template brain

Usage

## S3 method for class 'templatebrain'
plot3d(x, col = "grey", alpha = 0.3, ...)

Arguments

x

the template brain to plot.

col

the color of the surface.

alpha

the alpha value of the surface.

...

extra arguments to pass to plot3d.

Details

This function will work immediately for the standard templatebrain defined in the package documentation. If passed an object called e.g. FCWB it expects to find another object named FCWB.surf containing the surface information. If you follow this naming convention for user-defined refbrains it will work for them as well.

Value

This function is principally called for its side effect of adding to the plot. A vector of rgl shape IDs is returned invisibly.?


jefferislab/nat.templatebrains documentation built on Aug. 21, 2023, 11:22 a.m.