Closed johnbradley closed 2 years ago
The following API endpoints have been changed to support "annotated-taxa" and "taxon-variation" for the corpus
parameter:
See https://github.com/phenoscape/rphenoscape/issues/243#issuecomment-1167656358 for earlier KB API implementation details.
We currently don't pass corpus
when using /similarity/matrix
in rphenoscape:
https://github.com/phenoscape/rphenoscape/blob/a9659db5f81c3be74be68cab553e302e7b963e26/R/semsim.R#L78-L81
We do pass corpus for /similarity/frequency
and /similarity/corpus_size
:
With the new API the "taxa" equivalent is "taxon-variation".
With the latest version of the kb phenoscape API the "taxa" corpus was replaced by "annotated-taxa" and "taxon-variation". Update functions with corpus parameters to support these new values.