append.dim {cmapR} | R Documentation

## Append matrix dimensions to filename

### Description

Append matrix dimensions to filename

### Usage

    append.dim(...)

    append_dim(ofile, mat, extension = "gct")

### Arguments

`...` | arguments passed on to `append_dim`
`ofile` | the file name
`mat` | the matrix
`extension` | the file extension

### Details

This is a helper function that most users will not use directly

### Value

a character string of the filename with matrix dimensions appended

### See Also

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

### Examples

    (filename <- cmapR:::append_dim("my.gctx.filename",
      matrix(nrow=10, ncol=15)))

[Package cmapR version 1.6.0 Index]