@@ -171,7 +171,6 @@ get_cave_table_data <- function(table, rootids = NULL, ...){
171
171
banc_cave_cell_types <- function (){
172
172
banc.cell.info <- banc_cell_info(rawcoords = TRUE )
173
173
banc.cell.info $ pt_position <- sapply(banc.cell.info $ pt_position , paste , collapse = " , " )
174
- ni <- subset(banc.cell.info , grepl(" central neuron" , tag2 ))
175
174
banc.cell.info.mod <- banc.cell.info %> %
176
175
dplyr :: rowwise() %> %
177
176
dplyr :: mutate(pt_position = paste0(pt_position ,collapse = " ," )) %> %
@@ -201,8 +200,8 @@ banc_cave_cell_types <- function(){
201
200
grepl(" ascending|descending|descending|ascending" , tag ) ~ tag ,
202
201
grepl(" sensory neuron|motor neuron|^trachea|^glia|^endocrine" , tag ) ~ tag ,
203
202
grepl(" sensory neuron|motor neuron|^trachea|^glia|^endocrine" , tag ) ~ tag2 ,
204
- grepl(" motor neuron" , cell_class ) ~ " motor" ,
205
- grepl(" endocrine" , cell_class ) ~ " endocrine" ,
203
+ grepl(" motor neuron" , tag ) ~ " motor" ,
204
+ grepl(" endocrine" , tag ) ~ " endocrine" ,
206
205
grepl(" central neuron" , tag2 ) ~ tag ,
207
206
grepl(" ^innervates|^intersegmental" , tag ) ~ tag ,
208
207
TRUE ~ NA
0 commit comments