Learn R Programming

nat (version 1.8.24)

nvertices: Find the number of vertices in an object (or each element of a neuronlist)

Description

Find the number of vertices in an object (or each element of a neuronlist)

Usage

nvertices(x, ...)

# S3 method for default nvertices(x, ...)

# S3 method for neuronlist nvertices(x, ...)

# S3 method for igraph nvertices(x, ...)

Value

an integer number of vertices (or a vector of length equal to a neuronlist)

Arguments

x

An object with 3d vertices (e.g. neuron, surface etc)

...

Additional arguments passed to methods (currently ignored)

Examples

Run this code
nvertices(Cell07PNs[[1]])
nvertices(kcs20)

Run the code above in your browser using DataLab