Fetch fractional overlap for each neuropil for all images in BrainBase
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.
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') # }