tdaverse / ripserr

R package porting Ripser-based persistent homology calculation engines from C++ via Rcpp. Currently ports Ripser (Vietoris-Rips complex) and Cubical Ripser (cubical complex).
https://rrrlw.github.io/ripserr/
GNU General Public License v3.0
7 stars 5 forks source link

ripser options (format, dim, threshold, modulus, …) #1

Closed mattearnshaw closed 6 years ago

mattearnshaw commented 6 years ago

do you have any plan to support these options via your interface?

rrrlw commented 6 years ago

Absolutely; unfortunately, due to other commitments, this will likely not happen until June/July 2018. :(

paigero commented 6 years ago

Thanks so much for creating ripserr. I need to compute persistent homologies of dimension 2 and higher. How can I get ripserr to do this?

rrrlw commented 6 years ago

Hello, thank you for the interest in ripserr! Assuming your data is at least 3-dimensional, ripserr should (with default options) calculate persistent homologies of dimension 2 and higher. Do you have a minimal dataset that should definitely have features of dim 2 or higher that are not showing up?

paigero commented 6 years ago

Dear Raoul,

Thank you for the quick reply.

When I run ripserr on the attached data set I get 0-cycles and 1-cycles but no 2-cycles.

On the other had when I run a standard R TDA command;

Diag = ripsDiag(X = data, maxdimension, maxscale,library = "GUDHI", printProgress = TRUE)

Then I get 0-cycles, 1-cycles and 2-cycles.

Thanks much in advance,

Rob Paige

From: Raoul W. [mailto:notifications@github.com] Sent: Saturday, June 9, 2018 7:25 PM To: rrrlw/ripserr ripserr@noreply.github.com Cc: Paige, Robert paigero@mst.edu; Comment comment@noreply.github.com Subject: Re: [rrrlw/ripserr] ripser options (format, dim, threshold, modulus, …) (#1)

Hello, thank you for the interest in ripserr! Assuming your data is at least 3-dimensional, ripserr should (with default options) calculate persistent homologies of dimension 2 and higher. Do you have a minimal dataset that should definitely have features of dim 2 or higher that are not showing up?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/rrrlw/ripserr/issues/1#issuecomment-396008827, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIaE_mxpYNPJoZfKmuvtU0IZqWy8FYqoks5t7GdcgaJpZM4T06xT.

0.432282823187814 1.36590942830417 -0.250572345976577 0.221566248054025 1.47223779416106 0.105157265023352 0.252544321961088 0.652497689933521 -0.399748937485416 -0.514152387198266 0.318212882834592 0.30611311403635 0.490050860007247 1.19276884186163 -0.407653553208984 0.458446352147079 1.42425388292685 -0.0613710890697779 1.25994118356731 -0.381889597143731 0.387038875877407 1.26358086864348 -0.0988289503352822 0.422464112918612 1.2568709843535 0.787780762355801 -0.127961275217477 0.704642177321431 -0.842286567497182 -0.490268857855964 -0.865873345216709 -0.371484266298181 -0.496647699395432 0.0772306009397712 0.651555028815265 0.362965508116396 0.111981793276415 0.606811087789286 -0.321488461194249 -0.982762294148769 1.03848225921491 0.255519606816953 -0.973022493578339 0.353452592385771 0.49875729068659 0.516346651874657 -1.28263320435338 -0.321819346249673 0.721625675030245 -0.0937749077332838 -0.419343522402577 -0.499250777885675 0.145855914321441 0.140412327097755 -0.649433797224242 -0.20761843848672 0.385690760206626 -0.67815276508166 -0.596953691622421 0.490592043529876 -0.18013728470534 0.543111489206085 -0.258828442101066 0.770663205635522 -1.26368781987381 0.139502521945504 -1.43985298355008 -0.258892384069446 -0.188901790608799 -0.114900078199089 1.49313924570257 0.0494003893053427 -0.314347128432331 -1.44867457824158 0.131538886311621 0.481301456360385 1.39118615235959 0.164713995163313 -0.870180432483692 0.746156160572559 0.478122895056179 -0.141081259112394 -0.484445863244964 0.0674531780574781 -0.737126759723541 0.44457505214603 0.480237020679645 -0.559652755101553 0.583784980774412 -0.46196227142643 -1.27269187707419 0.109123343203415 0.416017515328861 0.580964154124565 0.354433162653505 -0.384641183543392 -0.506771805140809 -1.32512883681437 0.273255100467793 -0.724089975747224 -0.770936949249369 -0.496663900603502 0.405044173019882 0.514673677067414 0.361849931801284 0.589990662925918 -0.398304187746043 -0.408621481001803 0.519900852042756 0.144661660179406 -0.19513940368444 0.517145175827323 0.121250774468126 -0.173775216492754 -0.481422105383966 0.613298767227991 -0.448842492818135 0.920449241439718 -0.454794596989176 -0.499287849501826 0.813421368293607 -0.516153167281429 -0.498655929208536 -0.24078635902948 -1.00534632809368 0.498857664777407 -0.371804282210859 -0.772755531916345 -0.4792781946252 0.737725141836118 0.732166197166913 0.498446995455111 -0.899644027472395 1.07497770358079 0.29763630724236 0.508230850522792 0.423114977807093 0.367812443285638 0.6995812089059 0.946614678915673 0.467596300617662 0.489266600733214 -0.169086895182175 0.131713372230131 -0.312117751704115 -0.51743795984258 -0.305629017852057 -0.192947155144623 0.949204721877489 -0.499014113177354 1.37614618319158 0.517597581207699 0.169849291002089 -0.134347102338299 0.960046241085199 -0.499062811201147 -0.400317996703428 -0.311303863091556 0.0840438938807574 -0.551611050183924 -0.37774637913393 0.374359254345692 -0.0512782845797158 -0.548503075406816 -0.21978290161823 -0.606513509710434 -1.35257658863817 0.131724395917632 -0.221312595291462 -0.868184439775629 0.4890534314656 0.403894639630646 -0.999153051844344 -0.493925784275917 -0.48021351897105 -0.140835313335255 0.0209576504314878 -1.07449802477873 1.04488695201887 0.0349393019558059 -0.587911460414044 1.32054973712776 0.226987230383293 0.548867091315152 -1.09318217731671 -0.447399608927055 -0.442063145324466 -0.233817497517911 -0.00950948166213788 0.127335344454652 -1.38410464774417 -0.312952533669997 -0.0801700132343782 -0.515591537064374 0.145988018163649 0.00818012577454846 1.20171504984515 -0.457492957355094 -0.686974614321951 1.0629347999574 -0.42361799000104 -0.393156970061824 0.335266426031575 0.128134256357742 0.0919424721655676 0.573714739065318 0.272889318719448 -0.25527495386395 1.08158372937612 -0.487454831013527 0.385389630224976 -0.485219371542147 0.324548862723383 1.36697026813229 -0.164023119355475 0.328694508971504 0.325956726623049 1.2578450043592 0.400454624926096 -0.21214563690002 -1.19435152547013 0.452339774948654 -0.954537300692768 -0.212376093703664 -0.499510370155389 -0.538928812732117 1.32021060280879 0.261814082250531 -0.550231822501682 -0.344557025990672 -0.356296091255935 0.110698609292774 0.487634444355111 -0.00644437515268962 0.499728078833169 -0.981835553287825 0.489549152912145 -0.308635745650979 0.456541052066415 -0.220154616521338 -0.536095556216693 0.681964523359083 0.482111183613034 0.712047278410193 -1.22148402657976 0.280552695517554 0.623733917999245 -0.0955106337695061 -0.337404932674847 -0.0974132156926928 1.04779890362799 -0.497255358254841 -1.38476593855183 -0.449580200999715 0.20527591530059 -1.32818805568531 0.656814851152461 0.133968033961658 -0.392031932186658 0.875146261236324 -0.498311400186682 -0.0793639454149807 1.39939235807798 0.297799385868417 0.402348605303997 -1.1228972329256 0.461331140761981 -0.362151710810269 -0.907512247853685 0.499475500775344 -0.848119567526202 -0.275622927320641 0.488148362308835 0.527499539910795 -0.636931363881382 0.469119112670388 0.819559378846664 -0.281528768509969 0.481866448103685 1.28961569227228 -0.307051716925174 0.379396745563064 0.00469642339132872 0.910313059116935 -0.491892697180842 -0.504668310412586 0.359334899983743 0.324405686859342 0.423454532770496 -0.352765300645706 -0.220286553357943 -0.283363136424729 -0.54126264273922 0.314070224288118 -0.383409195738952 -1.29093439383899 0.360307398988054 0.0136717852594206 -0.995621887592869 0.499981644890706 1.29542319961469 -0.570858193036581 0.277946107125069 -0.616060104986373 -0.722406683005723 0.497435252534753 0.163150309249865 -0.612716654301999 -0.340723237651443 -0.546074278052412 -0.122106202261932 0.23666924066475 0.13239150009029 -0.575621097066462 -0.287110420006371 -0.44950532321572 0.402337121633506 -0.304306340946266 0.41072015498877 0.375615996831665 0.231033361704394 0.0276721909846427 1.15911984872607 0.473894144489412 0.978363738921195 -0.945234885209864 0.346580557933398 -1.49822573025082 -0.0360358461708069 -0.0365945472384595 -0.108732107011193 0.488038774029996 -0.00212509082304821 0.911192530403388 1.19132509810986 0.0125516731210307 -0.741669037604904 -0.523591652747414 0.49143807078457 -0.376523999353325 -0.415230436293902 -0.238454272066683 -0.570896511955971 -0.0258607747642104 -0.257628165619569 0.994156458341885 0.913328895494363 0.357065345932377 -0.687610658392754 -0.384211552457554 -0.452677318153837 -1.06349266127032 -0.142268918396087 -0.494647239492334 0.049003630549001 -1.49917629245828 -0.00479886317575801 -0.150467586172315 -0.66425496494559 -0.385087603293491 -0.489116381459776 0.212991544754677 0.179884676957737 0.900245693428283 1.04550876076372 0.325329451095484 -0.221793988366462 0.457091662226913 0.0894171188595289 0.632153354642496 1.35866883059172 -0.0382833136674953 0.319267883481634 0.56124070183186 -0.352801014997153 -0.413998539367629 -1.14236393448088 -0.451382069017497 -0.193091590019463 1.48742556802697 0.00967470788908416 0.481658174015516 -1.00711427266564 -0.486270377625713 0.0192263033203669 -1.31842099218482 0.385381343502004 -0.592439618573146 -0.0989986468891938 -0.300870253199067 0.761308315440288 -0.57145723588771 -0.497683048229447 -0.183255847653913 0.476448988840375 0.101817616185264 -1.37617381747931 0.52318439889492 0.164200794525906 0.00339220928086807 -0.998175292645892 -0.499996691434284 0.821493465042549 1.00670519260763 0.400487701084286 0.117883246245235 0.492091325765508 -0.0773174775719735 1.11623872579806 -0.772918653388598 0.349341410575775 -0.00602670703231511 -0.500465553533074 0.0223961555807063 1.27742048508209 -0.786147716725577 0.00749812103791465 0.0859908743246971 -1.43557692594297 -0.240882837637952 1.35722684490263 -0.504926594490665 -0.22180981338371 0.447490187729043 -0.501844327641716 0.377710600601589 1.29380224070565 0.740882928624589 -0.0948739952595811 0.309443153715095 1.30869503190043 -0.36211268546173 1.04449116595079 0.802545886446537 -0.386494415923427 -1.25909607790039 -0.691669689514644 -0.24373692840494 -0.310679100345487 -1.05850553404333 -0.489242908769097 -1.49327384519702 -0.139614357342063 0.0146169210055683 -0.287530285568605 0.577633419712646 -0.352342161564923 -0.509256780752622 0.0290625880962901 -0.0999183300415832 -0.0419405096227606 1.14273375897749 -0.478964347752178 -0.457723984936707 0.315929244049777 -0.23024532116431 1.23996467705403 -0.615372977134551 -0.319903964967624 0.459738294877626 0.210347959953192 -0.0744541078510784 -0.379620221153958 -0.328064575984843 0.0416156074962315 0.250587640363655 0.806998904739722 0.475371441885867 0.14361955416826 0.676855815286131 -0.393814509659989 0.752218801355612 1.29325463941648 0.0622602741127082 -0.46153328955904 0.287810166854619 0.204914484975734 0.388149183773885 -0.324990225035854 -0.0787437135092024 0.32626881917002 -0.766113847878422 -0.471178521546819 -0.453778986901287 0.668253159846365 0.461567031309928 -1.24612788474467 0.389741153770297 -0.395696239825585 1.21380654397801 -0.431504525632365 0.40856653176127 -0.477212448954982 0.779394082161977 0.492528483429979 -1.22242044834724 -0.159732813195695 -0.442491133580774 -0.795434256143548 1.27135012526607 -0.017823216939882 0.0337981136241761 0.498935563172146 0.0088879806305048 -0.321645254291827 -0.681860582759366 -0.435250188505087 1.22291595557936 0.577854664952424 0.354536316811656 0.446141046891334 0.226734272029967 0.0212098732656455 -0.0668314851896438 -1.31418897783916 -0.387576158159207 0.270994963986726 0.430854994849392 -0.0944062182572451 -0.0288231761098831 -0.659464549680428 -0.366693336865514 -1.38261665093594 0.5128074171655 0.157177995386614 -0.117036813985966 0.514753392358755 0.164659892098372 -0.605891901965252 1.21680808984692 0.347700252044012 0.169801616121683 0.47940622066144 0.0922787440163095 1.33315983262314 -0.518842017228199 -0.254194801352743 -0.368533891761368 -0.728416041323854 0.465046386023582 -0.169906846515205 0.700762368469115 0.414964872935865 0.525779084066444 -0.457630524478024 0.397765294207951 1.2864352549117 -0.325254638684437 0.378319819825495 -0.502135577786162 1.41147047531901 -0.0432201877837645 0.15371483374369 0.954521550174743 -0.498897829147081 -0.40408155935366 -0.32437801252789 0.133575835169405 -0.174464542414284 0.976455033046682 -0.499934685071177 -0.825648710999417 0.767178018203712 0.483587087207212 0.764237830579543 -0.21627984791489 -0.45570583818724 -0.481706942920652 -0.201347191130868 -0.146989693342777 -0.142811816064353 -0.727503231073168 0.42792503230885 1.35953448315177 -0.45668658729881 0.247952309059972 -1.22726210705504 -0.862449682908057 -0.00165982162101963 -0.753828223703578 1.04917142622608 -0.40594539597691 1.30258052302143 -0.731390739387681 -0.0780521633391522 -0.426037925956808 -0.277062685165774 -0.0902075979723782 -0.562134455262299 -1.06082287618054 -0.458013486133005 -0.504561762059141 0.4445791715524 -0.377799589830672 -0.837696580473486 1.054773498341 0.360032687489645 -1.14458054145654 0.885648072642012 0.223599933777464 -0.735708351418987 -0.243432468159891 0.446482132771234 0.624204794233461 0.910625780319167 0.489059121397007 1.19349949440842 -0.568033667989642 0.382697539798911 -1.36286380260417 -0.625437502194453 -0.0218306490577586 0.490107493913349 -0.218798155212296 0.188095597216936 -0.620179423058947 1.21549861704253 0.34217911348869 -1.47389694964009 -0.0951442641966395 -0.150015664041112 -0.0712408227752877 -1.39942606934906 -0.298341888520091 0.863988668333203 0.604195481723914 -0.497043795214937 -1.44157131531657 0.19672253328202 0.207452941424142 -1.47849074212591 -0.0643509668258736 0.140374849762573 -0.802827697990323 -0.501955396226332 -0.497165166591609 -0.69794964292746 0.0628748565734277 0.400580798654468 0.364889245328381 0.518761117166504 -0.340907353060675 0.0379029160351499 0.524672410046976 -0.159253372541922 0.197968487838413 -1.44267331389401 0.204665634825844 -0.44557504918938 -0.465178042106588 -0.351240595502563 -0.485581125972894 0.13042555451942 0.052766125302594 -0.266516715027005 -0.458385428393296 -0.17123124875833 -0.621431123145037 0.163946448997547 0.349760125114773 0.346012837751888 0.873404204057462 -0.496319733218399 -0.577187465138162 0.121179194457531 0.285853322697166 0.556901967683924 0.416122586579605 0.3963516953192 -0.380484427336853 -0.435079565974279 -0.268142491517644 0.346193374363254 -0.547762349558257 -0.355091911762963 0.927081264693609 -0.413219148207774 -0.499774879328255 -0.527064485014795 -1.38304132790885 -0.139767804815669 0.0749681652595781 -0.534538106029441 0.195417429319459 -0.615691123217605 0.773228548618944 0.499865696301129 0.669527793953723 -0.129551623499332 0.385800466128301 -0.949637771363142 0.859829487108168 -0.413526802447125 -0.464054567138187 0.89029013088894 -0.49998420958504 -1.42092339339179 -0.480594124962647 0.00141387827685259 -1.2721565770049 -0.573013292310684 -0.306229157162588 0.743104145703001 -0.140035744588634 0.43652446619879 0.507615386106983 0.33255720412359 -0.308923234005618 1.38479767190612 -0.57641737561796 -0.00511258586157996 -0.411450279874941 0.286101616939061 0.0338060619567404 0.629467890051352 0.118523715183808 -0.347535273287639 -0.140578667409648 -0.495714014581212 0.122592412145427 1.2505663484423 0.260125985636981 -0.416035990292009 0.698772559305424 1.27587765814783 0.207965227719776 0.194034711346296 -1.06114497307045 -0.493761226196843 1.4182313842788 -0.415424133228118 0.147262567079698 1.01576424051712 -0.95324328245577 0.30911290657284 -1.22941096656012 -0.817944198828313 0.151024461738389 -1.39189516270127 0.453682151629865 -0.186372047295587 1.11998719422465 -0.879963224094088 -0.264474647103223 -0.846619038581547 1.00499056118758 -0.389053285148538 0.464532407333675 -0.199464416492733 -0.0742623881631349 0.705858270531067 0.370459325553986 0.457010911919297 0.933650521133926 0.564951744299392 -0.491598911387904 1.06890845684079 -0.517152056782383 -0.463537049207707 -0.557469656270304 -0.525705739480871 -0.441996494100493 0.211667731418154 0.538513979578494 -0.269143977703207 -0.821317238162605 1.21875804579354 0.171490657973568 0.560018761162345 0.306065241944438 0.345107894789097 1.14199220525027 -0.12041727442815 -0.477493647871072 0.0196308915145283 -0.73460184914735 0.423913854087146 -0.233446124753139 0.447835017821357 -0.0707300111082939 0.447268027374003 -0.248420196648003 -0.107195845415883 0.224599207208837 0.447277465173634 -0.0223926630670368 0.855907264277723 0.200557531753063 -0.48516075301879 0.488447539863329 0.367906321451003 0.314754143613407 0.3296581681014 1.07348072395677 -0.484645492385637 -0.299026931536528 -0.410581614209014 -0.0887048567216486 -0.959992263632284 -0.748456923154417 0.450320983989154 -0.112259414975957 -0.4910060235247 0.0605150525879121 -0.821116712469918 0.743638452393449 -0.488239890264852 -0.499732820751502 0.671540231293419 0.472711691565438 0.188227255205241 -0.498161666669766 -0.177418625616776 1.44156848573601 0.0506190450833733 -0.232877365974968 -1.08516077583358 0.516526681553792 0.457458504053263 -0.937079835499072 0.605414301637926 -0.486444415460609 -0.930617384890849 0.604385339789664 -0.487828005255118 0.445882415961233 0.248633401140971 0.102021548410641 -0.43858596839157 0.240262519466332 0.0091496399506092 -0.513720177602115 -1.36063858546297 0.208641153652989 0.346526173975915 0.578550298205713 0.3794438404245 -0.807588225164237 1.24338775030574 0.130620568264207 -0.510769245227219 0.00633396473834609 0.103400642659362 -0.45420700583614 0.259033072963468 0.149516778410036 -1.3217808309712 0.247075931005904 -0.362214144747885 0.154739571836204 0.872493988382771 0.486856200833898 0.189091485037034 -0.9076736270969 0.494665987785816 0.762990925803688 0.183794753201789 0.451326613305664 0.118493765124493 0.550245709010844 0.242710554121665 -0.0412576893706703 0.618939347028042 -0.325327092800942 1.28741007942402 0.338223410877909 -0.374666032738295 0.354665763793023 -0.713411191371449 -0.456806616456455 0.394004546814643 -0.35165759641022 -0.1652937997583 0.557521896736848 -0.258478489788198 0.318448643208565 0.984005634652334 0.16223845352187 0.499992658728208 -0.519815688424991 -0.0927949826665661 0.16506821943106 -0.0836533230715192 0.553588122439077 -0.237251247430949 0.173929096270945 1.48942652539436 -0.021267231521439 0.846790818987929 1.18512780666235 -0.203833471688037 0.653954713458722 -1.24982304708086 0.2853599962521 0.682627910877619 -0.347965170317929 0.441969462747445 -0.330987885482817 -0.418712095690547 0.180545647051207 0.522854095644371 0.12942367987573 -0.192721763451775 1.04546125375023 -0.327304149312863 -0.490795285694338 -0.942082094273667 -0.938275529524291 -0.375969494710664 0.715196388299007 1.31837124877752 -0.0114213618403156 -1.02821652726829 -0.1794295966844 0.498081832888966 1.19900995936338 0.886272065274865 0.0944019947255618 -0.149237566720739 1.2698913786357 -0.415168691543545 -0.443837879509747 -1.43283091317144 0.00108181481059603 -0.373146372289438 -1.09633965051302 -0.474345811031619 0.588667736685211 0.0749655050551493 0.291022739205957 0.901421574695913 -0.913416842194469 -0.411987840745256 0.509419909990455 -0.313153230636442 0.297280265822739 1.4813309635567 0.162786184947065 -0.098266734230917 -0.495219571018873 0.0769162263998669 0.0339978120599749 0.948299601611865 -1.162203098037 -0.00198531818671866 -0.231160799258691 -0.453657297762484 -0.0952500861533055 0.0651594197492838 -1.49741266685223 -0.0341897446883217 1.12721229105372 0.407809129300863 -0.458816575386044 1.20034478682074 -0.226565581182228 0.44824111956238 -0.429478185215057 1.43426332782412 0.052982217096407 0.57113890350699 -0.589402096125557 0.466756420565505 0.0114914650203699 -1.22487565898893 -0.44654976407044 1.27358460417901 0.760018711297068 -0.128820254819493 -0.453326875061926 -0.222739609678264 0.0711781369823864 0.321562403040096 -1.17361695484213 0.45051774409533 -0.433325342175523 0.282295223940712 -0.12989245987084 0.169929894558246 0.573781750786992 -0.297876253590663 0.0137242233529632 -0.510930657138979 0.104839909123864 -0.497011790702216 0.120181224790722 0.105864293020807 -0.665293343129665 0.0468407060431373 -0.372922507339642 1.04533498057478 1.02969671342194 0.177822261009857 -0.113029669172326 -1.4148619931453 0.272266611545702 0.918304182982899 -0.610134319296707 0.48937716676141 -0.922197812651749 0.852138485638722 0.429717285837573 -0.379123438999121 -0.428185914115782 0.258334066549547 -0.489483142169739 0.229802855088565 -0.19769445745749 0.475225393056199 -0.369533314301924 0.302637436657794 -0.66008505166412 -1.28003249213611 0.237103406388382 1.48182314516489 0.145279256045211 0.104640520411411 -0.682408822891701 0.132017441988824 0.396247997017717 0.631614836799122 -0.283856579565114 0.39423855386907 0.771223481162123 -0.689102108787142 -0.498826410726283 0.752113318494335 1.27713020275155 -0.132446178149363 0.545451297558406 -0.210600581667428 -0.278429179852924 -0.919697827399396 0.387955450737941 0.499996669720161 -1.24095337000183 0.744774368653428 0.223449924497266 0.104317541680462 -1.48782794135063 0.0919070259422421 -0.719952234352528 -0.0365960751599986 0.414840934063289 0.41632017796317 -0.312667715536516 -0.14223282743463 -0.707212051319926 0.953277407397303 -0.463728330356819

rrrlw commented 6 years ago

Yes, you are correct, this is definitely a bug in ripserr. Thank you for pointing it out! I will try to get it fixed as soon as possible.

paigero commented 6 years ago

Dear Raoul,

Thank you so much in advance,

Rob Paige

From: Raoul W. [mailto:notifications@github.com] Sent: Sunday, June 17, 2018 12:34 AM To: rrrlw/ripserr ripserr@noreply.github.com Cc: Paige, Robert paigero@mst.edu; Comment comment@noreply.github.com Subject: Re: [rrrlw/ripserr] ripser options (format, dim, threshold, modulus, …) (#1)

Yes, you are correct, this is definitely a bug in ripserr. Thank you for pointing it out! I will try to get it fixed as soon as possible.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/rrrlw/ripserr/issues/1#issuecomment-397855960, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIaE_sRkJK_MYwI7yMzt6YBOR2BDkTJgks5t9epFgaJpZM4T06xT.

rrrlw commented 6 years ago

@mattearnshaw The dim and threshold options have been implemented in the TDAstats R package (https://github.com/rrrlw/TDAstats) that is intended to replace the ripserr package. The modulus option should be added soon as well. I am unsure how many formats I will support apart from point cloud; is there a particular format that would be useful in your work?

rrrlw commented 6 years ago

@paigero The TDAstats R package (https://github.com/rrrlw/TDAstats) is intended to replace the ripserr R package, as it has more functionality (visualization and inference, in addition to calculation of persistent homology). The TDAstats::calculate_homology function is used to calculate persistent homology (with the C++ Ripser library doing the work behind the R code); it has a parameter named dim, which represents the maximum dimension for which to calculate persistent homology. Thus, the function call calculate_homology(point.cloud, dim = 2) should do the trick. Please let me know if this works for you.

mattearnshaw commented 6 years ago

@rrrlw thanks for the heads up! point cloud alone works for me.

paigero commented 6 years ago

Raoul,

The point cloud format is most useful in my work.

Thanks much in advance for your hard work,

Rob

From: Raoul W. [mailto:notifications@github.com] Sent: Monday, July 16, 2018 1:24 PM To: rrrlw/ripserr ripserr@noreply.github.com Cc: Paige, Robert paigero@mst.edu; Mention mention@noreply.github.com Subject: Re: [rrrlw/ripserr] ripser options (format, dim, threshold, modulus, …) (#1)

@mattearnshawhttps://github.com/mattearnshaw The dim and threshold options have been implemented in the TDAstats R package (https://github.com/rrrlw/TDAstats) that is intended to replace the ripserr package. The modulus option should be added soon as well. I am unsure how many formats I will support apart from point cloud; is there a particular format that would be useful in your work?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/rrrlw/ripserr/issues/1#issuecomment-405330037, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIaE_nT77eGQyY91XLEU7OPdxJDBQW_Zks5uHNpDgaJpZM4T06xT.

paigero commented 6 years ago

Raoul,

Great!! Thank you so much.

Rob

From: Raoul W. [mailto:notifications@github.com] Sent: Monday, July 16, 2018 1:25 PM To: rrrlw/ripserr ripserr@noreply.github.com Cc: Paige, Robert paigero@mst.edu; Mention mention@noreply.github.com Subject: Re: [rrrlw/ripserr] ripser options (format, dim, threshold, modulus, …) (#1)

@paigerohttps://github.com/paigero The TDAstats R package (https://github.com/rrrlw/TDAstats) is intended to replace the ripserr R package, as it has more functionality (visualization and inference, in addition to calculation of persistent homology). The TDAstats::calculate_homology function is used to calculate persistent homology (with the C++ Ripser library doing the work behind the R code); it has a parameter named dim, which represents the maximum dimension for which to calculate persistent homology. Thus, the function call calculate_homology(point.cloud, dim = 2) should do the trick. Please let me know if this works for you.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/rrrlw/ripserr/issues/1#issuecomment-405330693, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIaE_vA9qW_D5pl5Np1Hum4-hwl8vgd_ks5uHNqEgaJpZM4T06xT.

rrrlw commented 6 years ago

Thank you, @paigero, appreciate the kind words. Please let me know if there are any issues with TDA stats at https://github.com/rrrlw/TDAstats/issues.

rrrlw commented 6 years ago

@mattearnshaw apologies, but upon a closer look, it appears that the modulus option will not be supported as it required the USE_COEFFICIENTS flag during C++ compilation of Ripser (which is not used in TDAstats). See https://github.com/Ripser/ripser for details. Thank you for using TDAstats, let me know if there are any issues at https://github.com/rrrlw/TDAstats/issues!