Plot proportion of targets identified versus connections tested

plot_prop_identified(x, conn_threshold = 1, sample = FALSE, ...)

Arguments

x

A samplingcurve object

conn_threshold

A (vector of) absolute connection thresholds (i.e. integral number of partners). A threshold of 1 (the default) implies partners with 1 or more connections (i.e. all partners).

sample

Whether to randomise the sampling order

...

Arguments passed on to samplingcurve

partners

A vector or partner neuron identifiers (typically numeric such as CATMAID skeleton ids)

N

optional parameters describing the total number of connections and the total number of partners (if known).

m

optional parameters describing the total number of connections and the total number of partners (if known).

Examples

scuniform=samplingcurve(rep(1:20,10)) # no randomisation, which reveals the non-random order of connections in the # scuinform object plot_prop_identified(scuniform)
# randomising partner order plot_prop_identified(scuniform, sample=TRUE)
plot_prop_identified(scuniform, conn_threshold=1:3, sample=TRUE)