MgsaSets-class: Sets of items and their annotations

Description Details Slots See Also Examples

Description

This class describes sets, items and their annotations.

Details

Internally, the method mgsa indexes all elements of the sets before fitting the model. In case mgsa must be run on several observations with the same gene sets, computations can be speeded up by performing this indexing once for all. This can be achieved by building a MgsaSets. In order to ensure consistency of the indexing, no replace method for any slot is provided. Accessors are available.

The data frames setAnnotations and itemAnnotations allow to store annotations. No constraint is imposed on the number and names of their columns.

Slots

sets

A list whose elements are vector of item indices.

itemName2ItemIndex

The mapping of item names to index.

numberOfItems

How many items?

setAnnotations

Annotations of the sets. The rownames are set names.

itemAnnotations

Annotations of the items. The rownames are item names.

See Also

MgsaGoSets, readGAF, mgsa

Examples

1
new("MgsaSets", sets=list(set1=c("a", "b"), set2=c("b", "c")))


mgsa documentation built on May 20, 2017, 9:39 p.m.
Search within the mgsa package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.