View source: R/flywire_synapses.R
flywire_synapse_simplify | R Documentation |
Many predicted Buhmann synapses may be located at one real synapse. Collapse Buhmann predicted flywire synapses into smaller units using a hierarchical clustering based on the Euclidean distances between predicted 'presynapses'.
flywire_synapse_simplify(
x,
method = c("cleft_scores", "scores", "mean"),
collapse = TRUE,
fast = TRUE
)
x |
a |
method |
when synapses are collapsed, they are either represented by the predicted synapse amongst them with the best score, cleft_score or a mean of the meat data for each of these predicted synapses. |
collapse |
logical, whether or not to collapse synapses in the same cluster to a single synapse. If |
fast |
logical, whether or not to use |
a data.frame
of collapsed synapses.
flywire_googledrive_data
## Not run:
syns=fafbseg::flywire_partners("720575940621039145")
syns.simp = flywire_synapse_simplify(syns)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.