Download all of the BANC synapses as a .sqlite file that you can read lazily from later
Source:R/synapses.R
banc_all_synapses.Rd
Download all of the BANC synapses as a .sqlite file that you can read lazily from later
Usage
banc_all_synapses(
path = "gs://zetta_lee_fly_cns_001_synapse/240623_run/assignment/final_edgelist.df",
overwrite = FALSE,
n_max = 2000,
details = FALSE,
min_size = 10,
rawcoords = FALSE
)
Arguments
- path
The google storage path to the desired synapses file. Read using
readr::read_csv
.- overwrite
Logical, whether or not to overwrite an extant
banc_data.sqlite
file.- n_max
Numeric, the maximum number of rows to read from
path
if you just want to see a taster of the file.- details
Logical Whether or not to read all data columns in the target synapse
.csv
. Defaults toFALSE
in order to read only the essential presynapse position data.- min_size
Numeric, filter parameter, the minimum size (in nm) of the detected synapse.
- rawcoords
Logical, whether or not to convert from raw coordinates into nanometers. Default is
FALSE
.
Details
Downloads all automatic Zetta.ai synapse detections for the BANC and saves them as
a banc_data.sqlite
file. Once this is done, in the future the function will read from this file
lazily so as not to throw the whole thing into system memory.