Learn R Programming

FindMyFriends (version 1.2.2)

hasGeneInfo: 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)
"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

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

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

Run the code above in your browser using DataLab