Compatibility wrapper for QFeatures long-format extraction
qfeatures_long.RdDispatches to the appropriate QFeatures long-format function depending on the Bioconductor version and object class.
Value
A data structure identical to the output of the underlying
long-format function (usually a LongTable or DataFrame).
Details
Specifically, this function:
Uses
longForm()(BiocGenerics generic) if a method exists for the input object,Falls back to
QFeatures::longFormat()otherwise.
This allows package or script code to remain compatible across QFeatures releases without explicitly checking Bioconductor versions.
The function first checks whether longForm() is a generic and
whether there is a registered method for the input object class.
If so, it calls longForm(). Otherwise, it falls back to the legacy
longFormat() function. An error is thrown if neither is available.
See also
longFormat,
longForm,
isGeneric,
findMethods