Description Usage Arguments Value See Also Examples
Fetch fractional overlap for each neuropil for all images in BrainBase
1 2 | neuropil_overlaps(nps, raw = FALSE, normalised_by = c("neuropil",
"staining"))
|
nps |
The neuropils to fetch, specified either as integer ids or as the
character vector abbreviated neuropil name (see |
raw |
Whether to return the raw httr result |
normalised_by |
How to normalise the results. This denominator can
either be the total number of voxels in each neuropil region or the
total amount of |
processed data.frame
with columns
imgId Integer image id
name Image name
... additional columns expressing the fraction of each neuropil domain occupied by foreground voxels and titled with the abbreviated neuropil names.
The neuropils
data.frame contains details of the
different neuropil regions.
1 2 3 4 5 6 7 8 9 10 11 | x=neuropil_overlaps(1152)
y=neuropil_overlaps(1152, normalised_by="staining")
## Not run:
r=neuropil_overlaps(1152, raw=TRUE)
json_content=content(r)
all_brain=neuropil_overlaps('brain')
all_vnc=neuropil_overlaps('vnc')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.