Package: ashapesampler 1.0.0
Emily Winn-Nunez
ashapesampler: Generating Alpha Shapes
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>.
Authors:
ashapesampler_1.0.0.tar.gz
ashapesampler_1.0.0.tar.gz(r-4.5-noble)ashapesampler_1.0.0.tar.gz(r-4.4-noble)
ashapesampler_1.0.0.tgz(r-4.4-emscripten)ashapesampler_1.0.0.tgz(r-4.3-emscripten)
ashapesampler.pdf |ashapesampler.html✨
ashapesampler/json (API)
NEWS
# Install 'ashapesampler' in R: |
install.packages('ashapesampler', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 11 months agofrom:1c423b30ed. Checks:OK: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 26 2024 |
R-4.5-linux | OK | Nov 26 2024 |
Exports:calc_overlap_2Dcalc_overlap_3Dcount_neighborseuclid_dists_point_cloud_2Deuclid_dists_point_cloud_3Dextract_complex_edgesextract_complex_facesextract_complex_tetextreme_ptsgenerate_ashape2dgenerate_ashape3dget_alpha_complexn_bound_connect_2Dn_bound_connect_3Dn_bound_homology_2Dn_bound_homology_3Dread_alpha_txtreadOFFrunif_annulusrunif_ball_3Drunif_cuberunif_diskrunif_shell_3Drunif_squaresampling2Dashapesampling3Dashapetau_boundwrite_alpha_txt
Dependencies:abindalphahullalphashape3dbase64encBHbslibcachemclicodetoolscolorspacecpp11deldirdigestdoParalleldplyrevaluatefansifarverfastmapFNNfontawesomeforeachfsgenericsgeometryggplot2gluegtablehighrhtmltoolshtmlwidgetsigraphinterpisobanditeratorsjquerylibjsonliteknitrlabelinglatticelifecyclelinproglpSolvemagicmagrittrMASSMatrixmemoisemgcvmimemunsellnlmepillarpkgconfigpolyclippracmaR.methodsS3R.ooR.utilsR6RANNrappdirsRColorBrewerRcppRcppArmadilloRcppEigenRcppProgressrglrlangrmarkdownRvcgsassscalessgeostatspspatstat.dataspatstat.geomspatstat.randomspatstat.univarspatstat.utilssplancsTDAtibbletidyselecttinytextruncnormutf8vctrsviridisLitewithrxfunyaml
annulus_demo
Rendered fromannulus_demo.Rmd
usingknitr::rmarkdown
on Nov 26 2024.Last update: 2024-01-31
Started: 2024-01-31
probability_demo_2D
Rendered fromprobability_demo_2D.Rmd
usingknitr::rmarkdown
on Nov 26 2024.Last update: 2024-01-31
Started: 2024-01-31
probability_demo_3D
Rendered fromprobability_demo_3D.Rmd
usingknitr::rmarkdown
on Nov 26 2024.Last update: 2024-01-31
Started: 2024-01-31
torus_demo
Rendered fromtorus_demo.Rmd
usingknitr::rmarkdown
on Nov 26 2024.Last update: 2024-01-31
Started: 2024-01-31