Learn R Programming

FindMyFriends (version 1.2.2)

hasGeneGroups: 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)
"hasGeneGroups"(object)

Arguments

object
A pgVirtual subclass

Value

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

Methods (by class)

  • pgVirtual: Gene group check for pgVirtual subclasses

Examples

Run this code
# Empty pangenome
testPG <- .loadPgExample()
hasGeneGroups(testPG)

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

Run the code above in your browser using DataLab