View source: R/flywire_tracing.R
flywire_annotations_for_synapses | R Documentation |
Generate a CSV of neuron synapses to import to a flywire annotation layer
flywire_annotations_for_synapses(
fw.ids,
direction = c("inputs", "outputs", "both"),
partners = NULL,
db = flywire_neurons(WithConnectors = TRUE),
keep.dist.nm = 500,
cleft_scores.thresh = 75,
sample = 250,
write.csv = TRUE,
csv.path = getwd(),
volume = NULL,
...
)
flywire_annotation_csv(
xyz,
write.csv = TRUE,
csv.path = getwd(),
description = "top_nt",
csv.name = "flywire_points_annotations.csv"
)
flywire_verified_synapses(
fw.ids,
direction = c("inputs", "outputs", "both"),
partners = NULL,
csv.path = getwd(),
csv.name = "annotations.csv",
write.csv = TRUE
)
fw.ids |
character vector, a vector of valid flywire IDs |
direction |
whether to get presynapses, postsynapses or both. |
partners |
character vector else not used i |
db |
a |
keep.dist.nm |
numeric, minimum distance in nm that one synapse can be
from another. One random synapse is chosen from groups of proximal
synapses. To deactivate, enter |
cleft_scores.thresh |
numeric, cleft_score threshold for synapse inclusion |
sample |
numeric, the number of synapses to choose from both the
dendrite and axon of each neuron in |
write.csv |
logical, whether or not to write a |
csv.path |
Output path for CSV files (defaults to current working directory) |
volume |
if |
... |
further arguments passed to |
xyz |
a |
description |
the column in |
csv.name |
the name of the .csv file to be saved |
## Not run:
csv = flywire_annotations_for_synapses(fw.id = "720575940616046363",
direction = "inputs",
partners = c("720575940628113292",
"720575940610903062",
"720575940611661805",
"720575940628115084",
"720575940612337575",
"720575940618976297",
"720575940619059497",
"720575940616852894",
"720575940629359076",
"720575940632437856",
"720575940624804248",
"720575940613725708"),
db = NULL, keep.dist.nm = NULL, cleft_scores.thresh = 0, sample = NULL)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.