load_gct {dslice}R Documentation

Load gene expression file

Description

Load gene expression data from .gct file

Usage

  load_gct(file)

Arguments

file

Name of .gct file which contains gene expression data. Should be a tab-separated text file. The first row is version and the second is the dimension of expression matrix. There is an expression matrix from the third row to the end. The third row is column name of expression matrix. The first column is gene symbol and the second is the description of gene. For the remaining rows and columns, each row is a gene and each column is a sample.

Value

A matrix with row names and column names.

Examples

# Gene expression files are available after registration at Broad institute GSEA website
# http://www.broadinstitute.org/gsea

## Not run: 
filename <- "P53.gct"
expdat <- load_gct(filename)

## End(Not run)

[Package dslice version 1.2.2 Index]