GOtab: Pander table of top n GO results

View source: R/GO_Tables.R

GOtabR Documentation

Pander table of top n GO results

Description

Make a Pandoc table of the top n results from a GO_GEM() results object. This is useful for making markdown reports.

Usage

GOtab(GOres, ts = c(10, 500), sig = TRUE, title = "", n = 10)

Arguments

GOres

A single results table from GO_GEM() function with returnRes = T.

ts

Numeric vector of length 2 indicating the minimum and maximum term sizes to filter GO results. Defaults to c(10,500).

sig

Boolean indicating if the top significant terms should be shown. If FALSE, top enriched terms are shown. Default is TRUE.

title

Character for the table legend description

n

number of top terms to show. Default is 10. If there are fewer than n terms after filtering, only those terms will be shown.

Value

Prints a pandoc.table of results to stdout.


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