| fanc_partner_summary | R Documentation | 
fanc_partners returns details of each unitary synaptic
connection (including its xyz location).
fanc_partner_summary(
  rootids,
  partners = c("outputs", "inputs"),
  threshold = 0,
  remove_autapses = TRUE,
  cleft.threshold = 0,
  datastack_name = NULL,
  ...
)
fanc_partners(rootids, partners = c("input", "output"), ...)
| rootids | Character vector specifying one or more flywire rootids. As a
convenience this argument is passed to  | 
| partners | Whether to fetch input or output synapses or both. | 
| threshold | For  | 
| remove_autapses | For  | 
| cleft.threshold | A threshold for the cleft score calculated by Buhmann et al 2019 (default 0, we have used 30-100 to increase specificity) | 
| datastack_name | An optional CAVE  | 
| ... | Additional arguments passed to  | 
note that the rootids you pass in must be up to date. See example.
a data.frame
flywire_partner_summary, fanc_latestid
# NB id must be up to date
sample_id=fanc_latestid("648518346481082458")
head(fanc_partner_summary(sample_id))
head(fanc_partner_summary(sample_id, partners='inputs'))
## Not run: 
# get the latest id for an outdate
fanc_partner_summary(fanc_latestid("648518346473954669"))
## open fanc/flywire scene containing top partners
library(dplyr)
fanc_partner_summary(fanc_latestid("648518346494405175"), partners='inputs') %>%
  slice_max(weight, n = 20) %>%
  fanc_scene(open=TRUE)
## End(Not run)
## Not run: 
# plot input and output synapses of a neuron
nclear3d()
fpi=fanc_partners(fanc_latestid("648518346481082458"), partners='in')
points3d(fanc_raw2nm(fpi$post_pt_position), col='cyan')
fpo=fanc_partners(fanc_latestid("648518346481082458"), partners='out')
points3d(fanc_raw2nm(fpo$pre_pt_position), col='red')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.