Description Usage Arguments Details Value Examples
View source: R/sampling_curves.R
Make (randomised) sampling curve object for neuron or connection table
1 2 |
x |
A |
partners |
Whether to examine the input or output partners for given neuron. |
sample |
Whether to randomise the connection order (this is the right thing to do if the input neuron has been completed but was not randomly sampled in the first place.) |
volume |
An optional neuropil volume to which connectors can be
restricted after being fetched from CATMAID. Can be either a character
vector naming the volume or a surface object that is (or can be converted
|
keep.input |
Whether or not to keep the raw input as an attribute on the
|
make_rand_sampling_curve
is a thin wrapper for
samplingcurve
, which has the additional functionality of
fetching (all) the synapses for one or more CATMAID neurons (specified
using any form compatible with catmaid_skids
).
An object of class samplingcurve
1 2 3 4 5 6 7 8 | sc=make_rand_sampling_curve(2560371, partners='out')
head(sc)
plot(sc, main='Randomised output sampling curve for rLPTCIN')
lines(sc, rand=20)
scin=make_rand_sampling_curve(2560371, partners='in')
plot(sc, main='Randomised input sampling curve for rLPTCIN')
lines(sc, rand=20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.