Learn R Programming

multiClust (version 1.0.2)

input_file: 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.

See Also

read.table

Examples

Run this code
# 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]

Run the code above in your browser using DataLab