neuropil_overlaps: Fetch fractional overlap for each neuropil for all images in...

Description Usage Arguments Value See Also Examples

Description

Fetch fractional overlap for each neuropil for all images in BrainBase

Usage

1
2
neuropil_overlaps(nps, raw = FALSE, normalised_by = c("neuropil",
  "staining"))

Arguments

nps

The neuropils to fetch, specified either as integer ids or as the character vector abbreviated neuropil name (see neuropils in both cases. The special values of "brain" and "vnc" imply all brain or vnc neuropils, respectively.

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 staining in the whole expression pattern.

Value

processed data.frame with columns

See Also

The neuropils data.frame contains details of the different neuropil regions.

Examples

 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)

jefferis/brainbaser documentation built on May 19, 2019, 2:50 a.m.