makeBar: makeBar

View source: R/utils.R

makeBarR Documentation

makeBar

Description

Make a barplot of word frequency from queried identifiers

Usage

makeBar(
  queries,
  top = 10,
  keyType = "SYMBOL",
  pal = NULL,
  textSize = 20,
  reord = TRUE,
  orgDb = org.Hs.eg.db,
  flip = FALSE,
  grad = FALSE,
  retList = FALSE,
  argList = list()
)

Arguments

queries

gene IDs

top

how many numbers of words to be shown

keyType

default to SYMBOL

pal

palette used in barplot

textSize

text size in barplot

reord

order by frequency or not

orgDb

orgDb

flip

flip the barplot (gene name in y-axis)

grad

use gradient of frequency

retList

return result of refseq

argList

passed to refseq()

Details

The function accepts the biological entities, returns the bar plots of their frequencies in the database.

Value

barplot of word frequency

Examples

geneList <- c("DDX41")
makeBar(geneList)

noriakis/wcGeneSummary documentation built on May 31, 2024, 4:42 p.m.