load_gct: Load gene expression file

Description Usage Arguments Value Examples

View source: R/load_gct.R

Description

Load gene expression data from .gct file

Usage

1

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

1
2
3
4
5
6
7
8
# 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)

dslice documentation built on May 29, 2017, 8:03 p.m.