listGO_Table: GO Table from list of GO results

View source: R/GO_Tables.R

listGO_TableR Documentation

GO Table from list of GO results

Description

Make a publication-quality table from your GO results

Usage

listGO_Table(
  GOres,
  title = NULL,
  subtitle = NULL,
  sig = TRUE,
  ts = c(10, 500),
  colnames = c("Term", "Enrichment", "FDR"),
  numTerm = 10,
  retGT = FALSE,
  printGT = TRUE
)

Arguments

GOres

List of GO results table returned from GO_GEM or clusGO when returnRes=TRUE.

title

Character for Table title, leave NULL to avoid a title

subtitle

Character for subtitle of table. Leave NULL to not have subtitle

sig

Boolean indeicating if terms should be ordered by significance. FALSE lets terms be ordered by enrichment. Default=TRUE.

ts

numeric vector of length two indicating minimum and maximum terms size cutoffs for enrichment and significance, respectively. Default=c(10,500)

colnames

Character vector of length 3 indicating the output column names for the Term name, enrichment, and adjusted p-value. Defaults to c("Term", "Enrichment", "FDR")

numTerm

Number indicating the number of terms to print in the table. Default=10.

retGT

Boolean indicating if the gt table object should be returned - useful for custom formatting. Default=FALSE.

printGT

Boolean indicating if the gt table object should be printed to Viewer. Default =TRUE.

Value

A table of class gt of the top GO results for each entry in the list of GO results.


kevincjnixon/BinfTools documentation built on July 10, 2024, 11:46 a.m.