Get and set information about organisms

Share:

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

1
2
3
4
5
6
7
8
9
orgInfo(object)

orgInfo(object) <- value

## S4 method for signature 'pgInMem'
orgInfo(object)

## S4 replacement method for signature 'pgInMem'
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

Note

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

See Also

Other Metadata: addGroupInfo, addOrgInfo, groupInfo

Examples

1
2
3
4
testPG <- .loadPgExample()
orgInfo(testPG)

orgInfo(testPG)$Genus <- 'Mycoplasma'

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.