The goal of {morphology} is to …

Install

You can install the latest version of {morphology} with the following:

if (!require(pak)) install.packages("pak")
pak::pak("rogiersbart/morphology")

Use

The basic {morphology} workflow looks as follows:

library(morphology)
description <- my_array |>
  look_at("voxels", of_category = 1) |> 
  look_in(direction = "xyz") |>
  look_for(neighbours = 100, within = 10) |> 
  describe() |> 
  scale_by("inverse neighbourhood") |>
  finalise()

See Get started for a more comprehensive overview.

Note