set_readable: Set Readable

View source: R/utilities.R

set_readableR Documentation

Set Readable

Description

Mapping 'itemID' column in the FEA enrichment result table from Entrez ID to gene Symbol

Usage

set_readable(
  tb,
  OrgDb = "org.Hs.eg.db",
  keyType = "ENTREZID",
  geneCol = "itemID"
)

Arguments

tb

tibble object, enrichment result table

OrgDb

character(1), 'org.Hs.eg.db' for human

keyType

character(1), keyType of gene

geneCol

character(1), name of the column in 'tb' containing gene Entrez ids separated by '/' to be converted to gene Symbol

Value

tibble Object

Examples

data(drugs10)
res <- tsea_dup_hyperG(drugs=drugs10, type="Reactome", pvalueCutoff=1, 
                       qvalueCutoff=1)
res_tb <- set_readable(result(res))

girke-lab/signatureSearch documentation built on Feb. 21, 2024, 8:32 a.m.