downloadskeletons: Download neuronal skeletons and associated meta-data

Description Usage Arguments

Description

Download neuronal morphologies as SWC files, compressed into a .zip file along with a CSV for their meta-data

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
downloadskeletons(
  nl,
  dir,
  format = "swc",
  subdir = NULL,
  INDICES = names(nl),
  files = NULL,
  Force = FALSE,
  ...
)

Arguments

nl

the neuronlist to download

dir

directory to which to download data

format

unique abbreviation of one of the registered file formats for neurons including 'swc', 'hxlineset', 'hxskel'

subdir

string naming field in neuron that specifies a subdirectory OR expression to evaluate in the context of neuronlist's df attribute

INDICES

character vector or expression specifying output filenames. See examples and nat::write.neuron for details

files

character vector or expression specifying output filenames. See examples and nat::write.neuron for details

Force

whether to overwrite an existing file

...

additional arguments passed to nat::write.neuron


jefferislab/lhns documentation built on Aug. 20, 2020, 10:10 p.m.