hasGeneInfo {FindMyFriends} | R Documentation

## Checks for existance of gene location information

### Description

This method checks whether gene location information is present in the object i.e. if the object inherits from pgVirtualLoc

### Usage

    hasGeneInfo(object)

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

### Arguments

`object` | A pgVirtual subclass

### Value

A boolean indicating whether gene location information is present (TRUE) or not (FALSE)

### Methods (by class)

- `pgVirtual`: Checks whether gene location information is available for pgVirtual subclasses

### Examples

    # Exclusive pgVirtual subclasses
    testPG <- .loadPgExample()
    hasGeneInfo(testPG)

    # pgVirtualLoc subclasses
    testPG <- .loadPgExample(geneLoc=TRUE)
    hasGeneInfo(testPG)

[Package FindMyFriends version 1.16.0 Index]