Description Usage Arguments Examples
Retype neurons in a table according to L/R
1 2 3 4 5 6 | lateralize_types(
connections,
postfix = c("raw", "to", "from"),
typeList = NULL,
redefinePartners = TRUE
)
|
connections |
Connectivity table or neuronBag to modify |
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 |
typeList |
: which types to lateralize (by default all the neurons which names contains L or R) |
redefinePartners |
If table is a neuronBag, should the partners also be retyped? |
1 2 3 4 5 6 7 8 9 10 | ## Not run:
PFLNames <- getTypesTable(c("PFL1","PFL2","PFL3"))
## Rename only PFL2
PFLNames2 <- lateralize_types(PFLNames,postfix="raw",typeList=c("PFL2"))
##Rename all PFLs
PFLNames3 <- lateralize_types(PFLNames,postFix="raw")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.