collapse_deg: A function to filter out geneIDs standing for the same gene...

Description Usage Arguments Value Examples

View source: R/collapse_deg.R

Description

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

Usage

1
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

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

csbl-usp/MetaVolcanoR documentation built on Nov. 8, 2019, 8:53 p.m.