Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/alphaShapeDiag.R

The function `alphaShapeDiag`

computes the persistence diagram of the alpha shape filtration built on top of a point cloud in 3 dimension.

1 2 3 | ```
alphaShapeDiag(
X, maxdimension = NCOL(X) - 1, library = "GUDHI", location = FALSE,
printProgress = FALSE)
``` |

`X` |
an |

`maxdimension` |
integer: max dimension of the homological features to be computed. (e.g. 0 for connected components, 1 for connected components and loops, 2 for connected components, loops, voids, etc.) |

`library` |
either a string or a vector of length two. When a vector is given, the first element specifies which library to compute the Alpha Shape filtration, and the second element specifies which library to compute the persistence diagram. If a string is used, then the same library is used. For computing the Alpha Shape filtration, the user can use the library |

`location` |
if |

`printProgress` |
if |

The function `alphaShapeDiag`

constructs the Alpha Shape filtration, using the C++ library GUDHI.
Then for computing the persistence diagram from the Alpha Shape filtration, the user can use either the C++ library GUDHI, Dionysus, or PHAT.
See refereneces.

The function `alphaShapeDiag`

returns a list with the following elements:

`diagram` |
an object of class |

`birthLocation` |
only if |

`deathLocation` |
only if |

`cycleLocation` |
only if |

Jisu Kim and Vincent Rouvreau

Fischer K (2005). "Introduction to Alpha Shapes."

Edelsbrunner H, Mucke EP (1994). "Three-dimensional Alpha Shapes." ACM Trans. Graph.

Maria C (2014). "GUDHI, Simplicial Complexes and Persistent Homology Packages." https://project.inria.fr/gudhi/software/

Morozov D (2008). "Homological Illusions of Persistence and Stability." http://www.mrzv.org/publications/thesis/phd/

Edelsbrunner H, Harer J (2010). "Computational topology: an introduction." American Mathematical Society.

`summary.diagram`

, `plot.diagram`

, `alphaComplexDiag`

, `gridDiag`

, `ripsDiag`

1 2 3 4 5 6 7 8 9 | ```
# input data generated from sphere
X <- sphereUnif(n = 500, d = 2)
# persistence diagram of alpha shape
DiagAlphaShape <-
alphaShapeDiag(X = X, library = "GUDHI", printProgress = TRUE)
# plot
plot(DiagAlphaShape[["diagram"]])
``` |

TDA documentation built on Dec. 9, 2017, 5:03 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.