catmaid_get_tag: Find the location of specified tags for a CATMAID neuron

View source: R/editcatmaid.R

catmaid_get_tagR Documentation

Find the location of specified tags for a CATMAID neuron

Description

Find the location of tags in a CATMAID neuron, either as URLs to the location of a TODO tag in CATMAID or as a data.frame reporting the location and skeleton treenode locations of specified tags.

Usage

catmaid_get_tag(
  x,
  tag = "TODO",
  url = FALSE,
  only.leaves = TRUE,
  conn = NULL,
  pid = 1
)

Arguments

x

a neuron or neuronlist object

tag

a single character specifying which tag to look for. Defaults to TODO

url

if TRUE (default) a list of URLs pertaining to specified tag locations are returned. If FALSE, a data.frame subsetted from x$d is returned, reporting treenode ID and X,Y,Z positions for specified tags

only.leaves

whether or not to only return leaf nodes with the specified tag

conn

CATMAID connection object, see ?catmaid::catmaid_login for details. For making the URL.

pid

project id. Defaults to 1. For making the URL.


alexanderbates/catnat documentation built on Sept. 5, 2023, 4:51 a.m.