collapse_deg {MetaVolcanoR} | R Documentation

## A function to filter out geneIDs standing for the same gene name

### Description

This function to remove redundant geneIDs standing for the same gene name

### Usage

    collapse_deg(diffexp, genenamecol, pcriteria)

### Arguments

`diffexp` | data.frame/data.table output of the deg.def() function
`genenamecol` | the column name of the gene name variable <string>
`pcriteria` | the column name of the pvalue criteria to consider <string>

### Value

`data.table` differential expression results with unique gene names

### Examples

    data(diffexplist)
    diffexp <- collapse_deg(diffexplist[[1]], "Symbol", "pvalue")
    head(diffexp, 3)

[Package MetaVolcanoR version 1.1.0 Index]