Learn R Programming

FindMyFriends (version 1.2.2)

orgInfo: Get and set information about organisms

Description

These methods lets you access the information stored about each organism and add to it or modify it. The only information present up front is the number of genes present in each organism. While possible, this information should not be changed manually but through the removeGene functions.

Usage

orgInfo(object)
orgInfo(object) <- value
"orgInfo"(object)
"orgInfo"(object) <- value

Arguments

object
A pgVirtual subclass
value
A data.frame with a row for each organism

Value

In case of the getter a data.frame with organism information.

Methods (by class)

  • pgInMem: Get organism metadata for pgInMem subclasses
  • pgInMem: Set organism metadata for pgInMem subclasses

See Also

Other Metadata: addGroupInfo, addOrgInfo, groupInfo

Examples

Run this code
testPG <- .loadPgExample()
orgInfo(testPG)

orgInfo(testPG)$Genus <- 'Mycoplasma'

Run the code above in your browser using DataLab