merge_gct: Merge two GCT objects together

Description Usage Arguments Value See Also Examples

Description

Merge two GCT objects together

Usage

1
2
3
4
5
6
7
## S3 method for class 'gct'
merge(...)

merge_gct(g1, g2, dim = "row", matrix_only = FALSE)

## S4 method for signature 'GCT,GCT'
merge_gct(g1, g2, dim = "row", matrix_only = FALSE)

Arguments

...

arguments passed on to merge_gct

g1

the first GCT object

g2

the second GCT object

dim

the dimension on which to merge (row or column)

matrix_only

boolean idicating whether to keep only the data matrices from g1 and g2 and ignore their row and column meta data

Value

a GCT object

See Also

Other GCT utilities: annotate.gct(), melt.gct(), rank.gct(), subset.gct()

Examples

1
2
3
4
5
# take the first 10 and last 10 rows of an object
# and merge them back together
(a <- subset_gct(ds, rid=1:10))
(b <- subset_gct(ds, rid=969:978))
(merged <- merge_gct(a, b, dim="row"))

cmap/cmapR documentation built on Oct. 14, 2021, 12:51 a.m.