| read.gctx.ids {cmapR} | R Documentation |
Read GCTX row or column ids
read.gctx.ids(...) read_gctx_ids(gctx_path, dim = "row")
... |
arguments passed on to |
gctx_path |
path to the GCTX file |
dim |
which ids to read (row or column) |
a character vector of row or column ids from the provided file
Other GCTX parsing functions:
GCT,
append.dim(),
fix.datatypes(),
parse.gctx(),
process_ids(),
read.gctx.meta(),
write.gctx.meta(),
write.gctx(),
write.gct()
gct_file <- system.file("extdata", "modzs_n25x50.gctx", package="cmapR")
# row ids
rid <- read_gctx_ids(gct_file)
head(rid)
# column ids
cid <- read_gctx_ids(gct_file, dim="column")
head(cid)