splitName {limma} | R Documentation

## Split Composite Gene Names

### Description

Split composite gene names into short names and gene annotation strings. NOTE: this function is now deprecated in favor of `strsplit2`.

### Usage

    splitName(x, split=";", extended=TRUE)

### Arguments

`x` | character vector
`split` | character to split each element of vector on, see `strsplit`
`extended` | logical. If `TRUE`, extended regular expression matching is used, see `strsplit`.

### Details

Gene names are assumed to comprise a short name or identifier followed by more detailed annotation information.

### Value

A list containing components

`Name` | character vector of the same length as `x` contain first splits of each element
`Annotation` | character vector of the same length as `x` contain second splits of each element

### Author(s)

Gordon Smyth

### See Also

`strsplit`.

An overview of LIMMA functions for reading data is given in 03.ReadingData.

[Package limma version 2.10.5 Index]