Open a1danbryant opened 3 months ago
Thanks @a1danbryant for raising the issue. It looks like the reprex was corrupted by a conflict between TDA::landscape()
and plt::landscape()
. This might eventually mean that {plt} should use a different name for this function, e.g. pl()
or pl_construct()
. In the meantime, you can avoid the conflict by attaching {TDA} package before {plt}, so that the latter masks the former. Or you could try using the {conflicted} package for more explicit control over conflicting object names.
Please edit the reprex (or create a new one in a comment) and i'll come back to this!
This issue came up when trying to plot the result of
pl_mean()
.By including/excluding the line 'pd<-as.persistence(pd)' we get different results from plotting the output of
pl_mean()
. Thelandscape()
function hasas_persistence()
nested inside of it, so this might be an issue of whether or notas_persistence()
is being called. The format of 'pd' (the persistence data), generated from theTDA
package's alpha complex in this instance, might be relevant as the "read_me" file utilizesripserr
's vietoris-ripps complex to create the persistence data, and seems to operate as expected without callingas_persistence()
(and instead justlandscape()
).Below is an example of the difference we see when plotting the result from
pl_mean()
.Created on 2024-07-25 with reprex v2.1.1