choose_fanc | R Documentation |
Choose or (temporarily) use the FANC autosegmentation
choose_fanc(set = TRUE)
with_fanc(expr)
set |
Whether or not to permanently set the FANC autosegmentation as the
default for |
expr |
An expression to evaluate while FANC is the default autosegmentation |
fancr
inherits a significant amount of infrastructure from
the fafbseg
package. This has the concept of the
active autosegmentation, which in turn defines one or more R options
containing URIs pointing to voxel-wise segmentation, mesh etc data. These
are normally contained within a single neuroglancer URL which points to
multiple data layers. For FANC this is the neuroglancer scene returned by
fanc_scene
.
If set=TRUE
a list containing the previous values of the
relevant global options (in the style of options
. If
set=FALSE
a named list containing the option values.
## Not run:
choose_fanc()
options()[grep("^fafbseg.*url", names(options()))]
## End(Not run)
with_fanc(fafbseg::flywire_islatest('648518346498254576'))
## Not run:
with_fanc(fafbseg::flywire_latestid('648518346498254576'))
with_fanc(fafbseg::flywire_latestid('648518346494405175'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.