nat (version 1.8.11)

*.neuronlist: Arithmetic for neuron coordinates applied to neuronlists

Description

If x is one number or 3-vector, multiply coordinates by that If x is a 4-vector, multiply xyz and diameter TODO Figure out how to document arithemtic functions in one go

Usage

# S3 method for neuronlist
*(x, y)

# S3 method for neuronlist +(x, y)

# S3 method for neuronlist -(x, y)

# S3 method for neuronlist /(x, y)

Arguments

x

a neuronlist

y

(a numeric vector to multiply coords in neuronlist members)

Value

modified neuronlist

See Also

Other neuronlist: is.neuronlist, neuronlist-dataframe-methods, neuronlistfh, neuronlist, nlapply, read.neurons, write.neurons

Examples

Run this code
# NOT RUN {
mn2<-Cell07PNs[1:10]*2
# }

Run the code above in your browser using DataLab