merge.gct {cmapR} | R Documentation |
Merge two GCT objects together
## 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 passed on to |
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 |
a GCT object
Other GCT utilities:
annotate.gct()
,
melt.gct()
,
rank.gct()
,
subset.gct()
# 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"))