Description Usage Arguments Value

Calculate probability matrix from distances and dot products between neuron segments

1 2 | ```
calc_prob_mat(nndists, dotprods, distbreaks, dotprodbreaks = seq(0, 1, by =
0.1), ReturnCounts = FALSE)
``` |

`nndists` |
a list of nearest-neighbour distances or a list of both nearest-neighbour distances and dot products. |

`dotprods` |
a list of dot products. |

`distbreaks` |
a vector specifying the breaks for distances in the probability matrix. |

`dotprodbreaks` |
a vector specifying the breaks for dot products in the probability matrix. |

`ReturnCounts` |
a Boolean indicating that counts should be returned instead of the default probabilities. |

A matrix with columns as specified by `dotprodbreaks`

and rows
as specified by `distbreaks`

, containing probabilities (for default
value of `ReturnCounts=TRUE`

) or counts (if `ReturnCounts=TRUE`

)
for finding neuron segments with the given distance and dot product.

nat.nblast documentation built on May 29, 2017, 11:35 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.