View source: R/catmaid_stats.R
catmaid_get_contributor_stats | R Documentation |
Get contributor statistics for neurons from CATMAID
catmaid_get_contributor_stats(skids, pid = 1, conn = NULL, ...)
skids |
One or more numeric skeleton ids or a character vector defining
a query (see |
pid |
Project id (default 1) |
conn |
A |
... |
Additional arguments passed to the |
a list containing different statistics including construction and review times (aggregated across all the specified input neurons). There will also be 3 data.frames containing statistics for number of nodes and pre/post-synaptic connectors broken down per user.
pre_contributors number of pre-synaptic connectors contributed per user.
node_contributors number of skeleton nodes contributed per user.
post_contributors number of post-synaptic connectors contributed per user.
catmaid_get_review_status
## Not run: cs=catmaid_get_contributor_stats(skids=c(10418394,4453485)) # fetch user list ul=catmaid_get_user_list() # merge with list of node contributors and sort in descending order of # contributions library(dplyr) left_join(cs$node_contributors, ul) %>% select(id,n, full_name) %>% arrange(desc(n)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.