MetStaT.CreateFileFromHeaderMatrix: Writes a matrix to file with column names and optionally row...

Description Usage Arguments Value Author(s)

Description

Essentially a wrapper function for R's write.table method. This function will write the input matrix to a file, always maintaining column name information from the input matrix. Row names in the matrix will be ignored by default, but can be included as well or supplied manually as a vector. The values in the output file will be separated by tabs.

Usage

1
MetStaT.CreateFileFromHeaderMatrix(file.to.create, header.matrix, rownames = FALSE)

Arguments

file.to.create

name of the file to be written.

header.matrix

the matrix containing the data which needs to be written.

rownames

set this to TRUE in case you wish the matrix' rownames to be stored as well. Or supply a vector of row names.

Value

A tab seperated output file containing the data from the matrix, and its column names (and row names if defined).

Author(s)

Tim Dorscheidt


MetStaT documentation built on May 2, 2019, 1:45 p.m.