| read_chip | R Documentation |
The CHIP file format is commonly used to annotate probesets or other identifiers to gene symbols and gene names. This function imports CHIP files, using a C procedure to accelerate the speed.
read_chip(x)
x |
File name |
The current implementation only parses the first three columns and ignores the rest of columns. This behavior may change in future versions to provide larger flexibility of parsing CHIP-like files.
A data.frame is returned with three columns: ProbeSetID,
GeneSymbol and GeneTitle. The column names are concordant with
the GSEA convention, except that the empty spaces are omitted.
Jitao David Zhang <jitao_david.zhang@roche.com>
BROAD institute GSEA manual, available at https://software.broadinstitute.org/cancer/software/gsea/wiki/index.php/Data_formats.
testFile <- system.file("extdata/test.chip", package="ribiosIO")
testChip <- read_chip(testFile)
head(testChip)
stopifnot(identical(colnames(testChip), c("ProbeSetID", "GeneSymbol", "GeneTitle")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.