def to_gsea_path(graph: BELGraph, path: str) -> None:
    """Write the genes/gene products to a GRP file at the given path for use with GSEA gene set enrichment analysis."""
    with open(path, 'w') as file:
        to_gsea(graph, file)
Write the genes/gene products to a GRP file at the given path for use with GSEA gene set enrichment analysis.