nvertices {nat}R Documentation

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, ...)

## Default S3 method:
nvertices(x, ...)

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

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

Arguments

x

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

...

Additional arguments passed to methods (currently ignored)

Value

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

Examples

nvertices(Cell07PNs[[1]])
nvertices(kcs20)

[Package nat version 1.8.24 Index]