internal-groupGenes {FindMyFriends} | R Documentation

## Add gene grouping to pangenome

### Description

This is an internal function, not meant to be called directly. For adding gene grouping manually see `manualGrouping`. This method is a requirement for classes inheriting from pgVirtual and is not relevant for everyday users.

### Usage

    groupGenes(object, ...)

    ## S4 method for signature 'pgVirtual'
    groupGenes(object, seqToGeneGroup)

    ## S4 method for signature 'pgInMem'
    groupGenes(object, seqToGeneGroup)

### Arguments

`object` | A pgVirtual subclass
`...` | Parameters to be passed on
`seqToGeneGroup` | Integer vector equivalent to the output of seqToGeneGroup on the new object.

### Value

An object with the same class as object

### Note

For internal use only. Required for extending the class system of FindMyFriends

Required for subclasses of pgVirtual in order to extend the class system of FindMyFriends

[Package FindMyFriends version 1.17.0 Index]