plot_prop_identified: Plot proportion of targets identified versus connections...

Description Usage Arguments Examples

View source: R/sampling_curves.R

Description

Plot proportion of targets identified versus connections tested

Usage

1
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

1
2
3
4
5
6
7
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)

jefferis/emsampling documentation built on July 21, 2019, 2:20 a.m.