Skip to contents

Query banc tables in the CAVE annotation system

Usage

banc_cave_query(table, live = TRUE, ...)

Arguments

table

The name of the table (or view, see views section) to query

live

Whether to use live query mode, which updates any root ids to their current value (or to another timestamp when provided). Values of TRUE or 1 select CAVE's Live mode, while 2 selects Live live mode which gives access even to annotations that are not part of a materialisation version. See section Live and Live Live queries for details.

...

Additional arguments passed to flywire_cave_query flywire_cave_query

Value

A data.frame

Examples

# \donttest{
library(dplyr)
#> 
#> Attaching package: ‘dplyr’
#> The following objects are masked from ‘package:nat’:
#> 
#>     intersect, setdiff, union
#> The following objects are masked from ‘package:stats’:
#> 
#>     filter, lag
#> The following objects are masked from ‘package:base’:
#> 
#>     intersect, setdiff, setequal, union
cell_info=banc_cave_query('cell_info')
cell_info %>%
  filter(tag2=='anterior-posterior projection pattern') %>%
  count(tag)
#> # A tibble: 3 × 2
#>   tag                n
#>   <chr>          <int>
#> 1 ascending       2190
#> 2 descending      1267
#> 3 intersegmental    16
# }