Provides the full system path to an example gene set (GMT) file included with the ComplexMap package.
Details
The included file is the BioCarta gene set collection from the Molecular Signatures Database (MSigDB v2025.1). This function makes it easy to access the file for use in examples and vignettes.
Examples
# Get the path
gmtPath <- getExampleGmt()
# You can then read the file using the path
if (file.exists(gmtPath)) {
exampleGmt <- getGmtFromFile(gmtPath)
}
#> Fetching gene sets from local file: /private/var/folders/gb/q0_2jm654r9_t3r2hb11v3tm0000gn/T/RtmpRHTGgo/temp_libpath18dc6de2ea12/ComplexMap/extdata/c2.cp.biocarta.v2025.1.Hs.symbols.gmt