getNeuronsInRoiTable: Get all instances of neurons of types with non zero pre/post...

Description Usage Arguments Details Value See Also

View source: R/rois.R

Description

Get all instances of neurons of types with non zero pre/post counts in a ROI.

Usage

1
2
3
4
5
6
getNeuronsInRoiTable(
  ROI,
  minTypePercentage = 0.5,
  renaming = NULL,
  retyping = NULL
)

Arguments

ROI

The ROI to look for

minTypePercentage

The minimum proportion of the instances of a type that should be innervating the ROI for it to be considered

renaming

a renaming function to be applied to the types found (need to accept a postfix argument). No renaming by default.

retyping

Deprecated, identical to renaming

Details

If a type is selected because at least minTypePercentage of its instances touch the ROI, all instances of the type are returned. This is used internally by getTypesInRoiTable

Value

a data frame of metadata for all neurons in the ROI, as returned by neuprint_get_meta, with extra columns ROI_pre and ROI_post, the counts in the queried ROI.

See Also

getTypesInRoiTable


jayaraman-lab/neuprintrExtra documentation built on Dec. 20, 2021, 10 p.m.