hasGeneGroups: Check whether gene groups are defined

Description Usage Arguments Value Methods (by class) Examples

Description

This method checks whether any grouping of genes has been done on the object and returns TRUE if that is the case.

Usage

1
2
3
4
hasGeneGroups(object)

## S4 method for signature 'pgVirtual'
hasGeneGroups(object)

Arguments

object

A pgVirtual subclass

Value

A boolean indicating whether gene groups have been defined (TRUE) or not (FALSE)

Methods (by class)

Examples

1
2
3
4
5
6
7
# Empty pangenome
testPG <- .loadPgExample()
hasGeneGroups(testPG)

# With gene groups
testPG <- .loadPgExample(withGroups=TRUE)
hasGeneGroups(testPG)

FindMyFriends documentation built on Nov. 8, 2020, 6:46 p.m.