ashapesampler

Generating Alpha Shapes

CRAN Package

Understanding morphological variation is an important task in many applications. Recent studies in computational biology have focused on developing computational tools for the task of sub-image selection which aims at identifying structural features that best describe the variation between classes of shapes. A major part in assessing the utility of these approaches is to demonstrate their performance on both simulated and real datasets. However, when creating a model for shape statistics, real data can be difficult to access and the sample sizes for these data are often small due to them being expensive to collect. Meanwhile, the landscape of current shape simulation methods has been mostly limited to approaches that use black-box inference—making it difficult to systematically assess the power and calibration of sub-image models. In this R package, we introduce the alpha-shape sampler: a probabilistic framework for simulating realistic 2D and 3D shapes based on probability distributions which can be learned from real data or explicitly stated by the user. The 'ashapesampler' package supports two mechanisms for sampling shapes in two and three dimensions. The first, empirically sampling based on an existing data set, was highlighted in the original main text of the paper. The second, probabilistic sampling from a known distribution, is the computational implementation of the theory derived in that paper. Work based on Winn-Nunez et al. (2024) doi:10.1101/2024.01.09.574919.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 225 times in the last 30 days. More than a random curiosity, but not quite a blockbuster. Still, it's gaining traction! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 7 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsFeb 9, 2025
0 downloadsFeb 10, 2025
0 downloadsFeb 11, 2025
0 downloadsFeb 12, 2025
6 downloadsFeb 13, 2025
5 downloadsFeb 14, 2025
5 downloadsFeb 15, 2025
12 downloadsFeb 16, 2025
8 downloadsFeb 17, 2025
11 downloadsFeb 18, 2025
16 downloadsFeb 19, 2025
12 downloadsFeb 20, 2025
9 downloadsFeb 21, 2025
9 downloadsFeb 22, 2025
6 downloadsFeb 23, 2025
9 downloadsFeb 24, 2025
7 downloadsFeb 25, 2025
7 downloadsFeb 26, 2025
6 downloadsFeb 27, 2025
5 downloadsFeb 28, 2025
5 downloadsMar 1, 2025
4 downloadsMar 2, 2025
5 downloadsMar 3, 2025
13 downloadsMar 4, 2025
8 downloadsMar 5, 2025
3 downloadsMar 6, 2025
9 downloadsMar 7, 2025
5 downloadsMar 8, 2025
4 downloadsMar 9, 2025
8 downloadsMar 10, 2025
8 downloadsMar 11, 2025
8 downloadsMar 12, 2025
5 downloadsMar 13, 2025
7 downloadsMar 14, 2025
0 downloadsMar 15, 2025
3
16

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 2,668 times in the last 365 days. Consider this 'mid-tier influencer' status—if it were a TikTok, it would get a nod from nieces and nephews. The day with the most downloads was Jan 21, 2025 with 25 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports9 packages
  • Suggests5 packages