input_file {multiClust} | R Documentation

## Function to read-in the gene expression file and assign gene probe names as the rownames.

### Description

Function to read-in the gene expression file and assign gene probe names as the rownames.

### Usage

    input_file(input)

### Arguments

`input` | String indicating the name of the text file containing the gene expression matrix to be read in. This matrix file should have the gene probes in the first column of the matrix. The gene probes will be assigned as the rownames of the matrix.

### Value

Returns an object containing the gene expression matrix with the gene probe names as the rownames.

### Note

This function works best when using gene expression datasets from Gene Expression Omnibus.

### Author(s)

Nathan Lawlor

### See Also

`read.table`

### Examples

    # Load in a test file
    data_file <- system.file("extdata", "GSE2034.normalized.expression.txt",
        package="multiClust")
    data <- input_file(input=data_file)
    # View matrix with gene probes assigned as rownames
    data[1:4, 1:4]

[Package multiClust version 1.8.2 Index]