gsva_use_new_api: GSVA API Version Detection

View source: R/internal.R

gsva_use_new_apiR Documentation

GSVA API Version Detection

Description

Detects whether the installed GSVA package supports the new parameter-based API (gsvaParam/ssgseaParam) or the old direct argument API. This function is used internally to ensure compatibility across different GSVA package versions (1.50.0+ vs older versions).

Usage

gsva_use_new_api()

Value

A list with two elements: - 'use_new_api': Logical indicating whether to use the new API ('TRUE') or old API ('FALSE') - 'gsva_version': Character string of the installed GSVA version, or '"not installed"' if not available


IOBR documentation built on May 30, 2026, 5:07 p.m.