hasGeneInfo: Checks for existance of gene location information

Description Usage Arguments Value Methods (by class) Examples

Description

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

Usage

1
2
3
4
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)

Examples

1
2
3
4
5
6
7
# Exclusive pgVirtual subclasses
testPG <- .loadPgExample()
hasGeneInfo(testPG)

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

FindMyFriends documentation built on Nov. 8, 2020, 6:46 p.m.