join_gost {GWENA} | R Documentation

## Join gprofiler2::gost results

### Description

Takes list of gprofiler2::gost results and join them. Usefull to join results of gprofiler2::gost with custom gmt to other gprofiler2::gost results.

### Usage

    join_gost(gost_result)

### Arguments

`gost_result` | list of gprofiler2::gost result

### Details

First element of the list is taken as reference for checks on gost_result elements compatibility. If warnings returned, value from reference will be used. Also, timestamp is set to timestamp of the join

### Value

A gprofiler2::gost result

### Examples

    query <- c("ENSG00000184349", "ENSG00000158955", "ENSG00000091140",
               "ENSG00000163114", "ENSG00000163132", "ENSG00000019186")
    g1 <- gprofiler2::gost(query, sources = "GO")
    g2 <- gprofiler2::gost(query, sources = "REAC")
    gj <- join_gost(list(g1,g2))

[Package GWENA version 1.4.0 Index]