Learn R Programming

dslice (version 1.1.3)

load_gct: 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

Value

  • A matrix with row names and column names.

Examples

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

filename <- "P53.gct"
expdat <- load_gct(filename)

Run the code above in your browser using DataLab