meta: Extract the or set metadata of a GCT object

Description Usage Arguments Value See Also Examples

Description

Extract the or set metadata of a GCT object

Usage

1
2
3
4
5
6
7
8
9
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

1
2
3
4
5
6
7
8
9
# 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))

cmapR documentation built on Dec. 12, 2020, 2 a.m.