nvertices: Find the number of vertices in an object (or each element of...

View source: R/xform.R

nverticesR 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)

nat documentation built on May 29, 2024, 10:36 a.m.