flywire_ntpred: Return raw neurotransmitter prediction results for output of...

View source: R/autosyn.R

flywire_ntpredR Documentation

Return raw neurotransmitter prediction results for output of flywire neuron

Description

the print.ntprediction method provides a quick summary of the neurotransmitter prediction for all output synapses.

Usage

flywire_ntpred(
  x,
  cleft.threshold = 0,
  remove_autapses = TRUE,
  local = NULL,
  cloudvolume.url = NULL
)

## S3 method for class 'ntprediction'
print(x, ...)

Arguments

x

A single root id as a string OR a data.frame of output (downstream) partners returned by flywire_partners.

cleft.threshold

A threshold for the cleft score calculated by Buhmann et al 2019 (default 0, we have used 30-100 to increase specificity)

remove_autapses

For flywire_partner_summary whether to remove autapses (defaults to TRUE)

local

path to SQLite synapse data. Evaluated by fafbseg:::local_or_google. Work in progress. Default is to download this data and place it in ~/projects/JanFunke.

cloudvolume.url

The segmentation source URL for cloudvolume. Normally you can ignore this and rely on the default segmentation chosen by choose_segmentation

...

additional arguments passed to print

Value

A data.frame of neurotransmitter predictions

See Also

Other automatic-synapses: flywire_adjacency_matrix(), flywire_neurons_add_synapses(), flywire_ntplot(), flywire_partners()

Examples


# an olfactory projection neuron
flywire_ntpred("720575940615237849")
# alternatively
## Not run: 
flywire_ntpred(flywire_xyz2id(cbind(116923, 61378, 1474), rawcoords = T))

## End(Not run)


natverse/fafbseg documentation built on Nov. 11, 2024, 9:50 p.m.