neuronlistz | R Documentation |
as.neuronlist.neuronlistz
converts a neuronlistz
to a regular (in memory) neuronlist
neuronlistz(zip, patt = NULL, df = NULL, ...)
## S3 method for class 'neuronlistz'
as.neuronlist(l, ...)
zip |
Path to the zip file |
patt |
Optional regex pattern or function to specify a subset of files. |
df |
A |
... |
Additional arguments currently ignored |
l |
An existing list or a single neuron to start a list |
neuronlistz
is designed to wrap zip files containing
neurons saved in the RDS or faster/smaller qs format for rapid access. You
should be able to read typical files in <20 ms. For files of ~3 GB there is
a fixed cost of the order of 10-15ms per read.
A neuronlist
object with additional class
neuronlistz
neuronlist
, neuronlistfh
,
write.neurons
Other neuronlist:
*.neuronlist()
,
is.neuronlist()
,
neuronlist-dataframe-methods
,
neuronlistfh()
,
neuronlist()
,
nlapply()
,
read.neurons()
,
write.neurons()
write.neurons(Cell07PNs[1:5], tf <- tempfile(fileext = '.zip'), format='rds')
nz=neuronlistz(tf)
nz[[1]]
nz[1:5]
## Not run:
write.neurons(Cell07PNs[1:5], tf <- tempfile(fileext = '.zip'), format='qs')
nz2=neuronlistz(tf)
all.equal(nz2[1:3], nz[1:3])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.