From 68845243575f74d06ff960f0e38aa646e2e9fb9f Mon Sep 17 00:00:00 2001 From: Gregory Jefferis Date: Mon, 1 Jul 2024 11:57:18 +0100 Subject: [PATCH] example fix: nuclei_aug2021ver2 has been retired --- R/cave.R | 5 +++-- man/fanc_cave_query.Rd | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/R/cave.R b/R/cave.R index aae2a06..1469084 100644 --- a/R/cave.R +++ b/R/cave.R @@ -12,13 +12,14 @@ #' @seealso \code{\link[fafbseg]{flywire_cave_query}} #' @examples #' \donttest{ -#' nuclei_aug2021ver2=fanc_cave_query(table = "nuclei_aug2021ver2") +#' #nucleus_mar2022=fanc_cave_query(table = "nucleus_mar2022") +#' neuron_somas_dec2022=fanc_cave_query(table = "neuron_somas_dec2022") #' head(neuron_somas_dec2022) #' hist(neuron_somas_dec2022$volume) #' hist(neuron_somas_dec2022$volume^(1/3)) #' } #' \dontrun{ -#' points3d(xyzmatrix(nuclei_aug2021ver2$pt_position)) +#' points3d(fanc_raw2nm(neuron_somas_dec2022$pt_position), col='red') #' } fanc_cave_query <- function(table, datastack_name = NULL, live=TRUE, ...) { if(is.null(datastack_name)) datastack_name=fanc_datastack_name() diff --git a/man/fanc_cave_query.Rd b/man/fanc_cave_query.Rd index 9529563..d9fa9dd 100644 --- a/man/fanc_cave_query.Rd +++ b/man/fanc_cave_query.Rd @@ -29,13 +29,14 @@ Query FANC tables in the CAVE annotation system } \examples{ \donttest{ -nuclei_aug2021ver2=fanc_cave_query(table = "nuclei_aug2021ver2") +#nucleus_mar2022=fanc_cave_query(table = "nucleus_mar2022") +neuron_somas_dec2022=fanc_cave_query(table = "neuron_somas_dec2022") head(neuron_somas_dec2022) hist(neuron_somas_dec2022$volume) hist(neuron_somas_dec2022$volume^(1/3)) } \dontrun{ -points3d(xyzmatrix(nuclei_aug2021ver2$pt_position)) +points3d(fanc_raw2nm(neuron_somas_dec2022$pt_position), col='red') } \dontrun{ library(dplyr)