Basic 3D visualisation of tractography streamlines

# S3 method for maf_df
plot(x, ..., color_fn = NULL)

Arguments

x

An object of class maf_df.

...

Additional parameters to be passed to autoplotly.

color_fn

A function or other R objects coercible into a function via as_function that adds a column PointColor to the input maf_df object. Defaults to NULL which uses the internal color_by_orientation() function.

Value

An object of class plotly.

Examples

plot(uf_left)
#>  Displaying 2042 streamlines...
#>  Coloring streamlines by orientation...