Description Usage Arguments Value
View source: R/clean_duplicates.R
Duplicate cell count clean up of segmentation output from the
seg_loop()
function. For use with mapping whole brain only.
Note: if the imaging dataset is large this will be a time intensive process.
Processing time will be printed once the function is finished.
1 2 3 4 5 6 7 | clean_duplicates(
setup,
segs,
xy_thresh = 1,
z_thresh = 10,
compare_depth = 200
)
|
setup |
(required) Contains setup parameters. |
segs |
(required) Segmentation data. |
xy_thresh |
(optional, default = 1) Threshold in the xy planes for the minimum distance where two center points can be the same cell. |
z_thresh |
(optional, default = 10) Threshold (in um) in the z-plane for the maximum z distance before a cell is counted as another cell. |
compare_depth |
(optional, default = 200) Comparision depth in (um). Compare a single image with adjacent images up to 200 um posterior. |
Returns the segmentation data in segs with clean cell output. All duplicate counts have been assigned NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.