meta {cmapR} | R Documentation

## Extract the or set metadata of a GCT object

### Description

Extract the or set metadata of a GCT object

### Usage

    meta(g, dimension = "row")

    ## S4 method for signature 'GCT'
    meta(g, dimension = "row")

    meta(g, dimension = "row") <- value

    ## S4 replacement method for signature 'GCT'
    meta(g, dimension = "row") <- value

### Arguments

`g` | the GCT object
`dimension` | the dimension to extract/update ['row' or 'column']
`value` | a data.frame

### Value

a data.frame

### See Also

Other GCT accessor methods: `ids()`, `mat()`

### Examples

    # extract rdesc
    rdesc <- meta(ds)
    # extract cdesc
    cdesc <- meta(ds, dim="column")
    # set rdesc
    meta(ds) <- data.frame(x=sample(letters, nrow(rdesc), replace=TRUE))
    # set cdesc
    meta(ds, dim="column") <- data.frame(x=sample(letters, nrow(cdesc),
      replace=TRUE))

[Package cmapR version 1.6.0 Index]