rrrlw / TDAstats

R pipeline for computing persistent homology in topological data analysis. See https://doi.org/10.21105/joss.00860 for more details.
https://rrrlw.github.io/TDAstats
GNU General Public License v3.0
37 stars 9 forks source link

Return persistent homology as data frame instead of matrix #11

Closed rrrlw closed 5 years ago

rrrlw commented 5 years ago

Data frames are better for visualization (using the grammar of graphics system in ggplot2); should be a quick switch to return as a data frame instead of matrix.

rrrlw commented 5 years ago

Added an optional parameter to calculate_homology (named return_df) that users can change to either return a matrix or a data frame