hasGeneGroups {FindMyFriends}R Documentation

Check whether gene groups are defined

Description

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

Usage

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

# Empty pangenome
testPG <- .loadPgExample()
hasGeneGroups(testPG)

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


[Package FindMyFriends version 1.12.0 Index]