I am trying to run the PHATE function on the counts matrix I extracted from the Seurat object. After running it and obtaining a PHATE object, I try to run cluster_phate on that object, but I always get this error: Error: object of type 'closure' is not subsettable
This is the code I write which is pretty simple and straightforward:
tumor <-GetAssayData(tumor_mel, slot="counts") tumor_PHATE <-phate(tumor) cluster_phate(tumor_PHATE)
The error shows up when I run cluster_phate(). Any help is appreciated!