warnOntN: Warning or Error generation for the number of ontology groups...

Description Usage Arguments Value

View source: R/WarningShortEnrichResult.R

Description

A helper function that checks the number of ontology groups and if showCategory exceeds them.

Usage

1
warnOntN(nDO, nGO, showCategory)

Arguments

nDO

number of DO enrichment result groups

nGO

number of GO enrichment result groups

showCategory

number of groups to show on the plot

type

"bar" for DGObarplot and "net" for DGOnetplot

Value

warning or error depending on the input


JoelleJee/DGOplot documentation built on July 15, 2020, 8:32 a.m.