redefineTypeByBodyId: Retype according to sets of bodyids

Description Usage Arguments

View source: R/retyping.R

Description

Retype according to sets of bodyids

Usage

1
2
3
4
5
6
7
redefineTypeByBodyId(
  connections,
  sets,
  nameModifiers,
  postfix = c("raw", "to", "from"),
  redefinePartners = FALSE
)

Arguments

connections

Connectivity table or neuronBag to modify

sets

List of neuron bodyid sets.

nameModifiers

Character vector of length the same length as sets containing

postfix

One of "raw, "to" or "from". Specify if type (and name) columns in table to be modified are postfixed with to and from or nothing

redefinePartners

If table is a neuronBag, should the partners also be retyped?


jayaraman-lab/neuprintrExtra documentation built on Dec. 20, 2021, 10 p.m.