View source: R/catmaid_labels.R
catmaid_get_label_stats | R Documentation |
catmaid_get_label_stats
returns a data.frame with one row
for every node-tag pair.
catmaid_get_all_labels
returns a character vector of labels
catmaid_get_label_stats(pid = 1, conn = NULL, ...) catmaid_get_all_labels(pid = 1, conn = NULL, ...)
pid |
Project id (default 1) |
conn |
A |
... |
Additional arguments passed to the |
catmaid_get_review_status
Other labels:
catmaid_get_labels()
label_stats=catmaid_get_label_stats() library(dplyr) # select soma labels soma_labels=label_stats %>% filter(labelName=='soma') %>% group_by(skeletonID) # select skeleton ids for neurons with multiple cell bodies multiple_soma=soma_labels %>% count(skeletonID) %>% filter(n>1) %>% arrange(desc(n)) multiple_soma_info = soma_labels %>% filter(skeletonID%in% multiple_soma$skeletonID) head(catmaid_get_all_labels())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.