catmaid_get_annotationlist: Get list of annotations (including user information) from...

View source: R/catmaid_metadata.R

catmaid_get_annotationlistR Documentation

Get list of annotations (including user information) from CATMAID

Description

Get list of annotations (including user information) from CATMAID

Usage

catmaid_get_annotationlist(pid = 1, conn = NULL, raw = FALSE, ...)

Arguments

pid

project id (default 1)

conn

the catmaid_connection object

raw

Whether to return completely unprocessed data (when TRUE) or to convert the nodes and connectors lists into processed data.frames (when FALSE, the default)

...

Additional arguments passed to the catmaid_fetch function.

Value

A list containing two data.frames, annotations and users. The users data.frame describes the users associated with each annotations, with one row for each valid annotations/user pair.

Examples

## Not run: 
al=catmaid_get_annotationlist(pid=1)
# table of the number of users who have contributed to each annotation
table(al$annotations$num_users_annotation)

## End(Not run)

jefferis/rcatmaid documentation built on Aug. 16, 2022, 8:52 p.m.