getdetail: get detail and integrate with the input gene information

View source: R/misc.R

getdetailR Documentation

get detail and integrate with the input gene information

Description

get detail and integrate with the input gene information

Usage

getdetail(rese, resd, sep)

Arguments

rese

richResult or GSEAResult

resd

dataframe with input gene as rownames

sep

character string used to separate the genes when concatenating

Author(s)

Kai Guo

Examples

## Not run: 
  hsako<-buildAnnot(species="human",keytype="SYMBOL",anntype = "KEGG")
  hsako<-as.data.frame(hsako)
  gene=sample(unique(hsako$GeneID),1000)
  res<-richKEGG(gene,kodata = hsako)
  gened<-data.frame(lfc=rnorm(length(gene)))
  rownames(gened)<-gene
  head(getdetail(res,gened))

## End(Not run)

hurlab/RichR documentation built on Feb. 5, 2024, 8:07 p.m.