read.gctx.ids {cmapR} | R Documentation

## Read GCTX row or column ids

### Description

Read GCTX row or column ids

### Usage

    read.gctx.ids(...)

    read_gctx_ids(gctx_path, dim = "row")

### Arguments

`...` | arguments passed on to `read_gctx_ids`
`gctx_path` | path to the GCTX file
`dim` | which ids to read (row or column)

### Value

a character vector of row or column ids from the provided file

### See Also

Other GCTX parsing functions: `GCT`, `append.dim()`, `fix.datatypes()`, `parse.gctx()`, `process_ids()`, `read.gctx.meta()`, `write.gctx.meta()`, `write.gctx()`, `write.gct()`

### Examples

    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)

[Package cmapR version 1.0.0 Index]