GO_Table: GO Table

View source: R/GO_Tables.R

GO_TableR Documentation

GO Table

Description

Make a publication-quality table from your GO results

Usage

GO_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

GO results table returned from GO_GEM 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


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