append_dim: Append matrix dimensions to filename

Description Usage Arguments Details Value See Also Examples

View source: R/io.R

Description

Append matrix dimensions to filename

Usage

1
2
3
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

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

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