nGeneGroups {FindMyFriends} | R Documentation

## Get the number of gene groups in a pangenome

### Description

This method gives the number of different gene groups in the object.

### Usage

    nGeneGroups(object)

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

### Arguments

`object` | A pgVirtual subclass

### Value

An integer giving the number of gene groups

### Methods (by class)

- `pgVirtual`: The number of gene groups in the pangenome for pgVirtual subclasses

### Examples

    testPG <- .loadPgExample(withGroups=TRUE)
    nGeneGroups(testPG)

[Package FindMyFriends version 1.16.0 Index]