splitName {limma} | R Documentation |
Split composite gene names into short names and gene annotation strings.
splitName(x, split=";", extended=TRUE)
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 . |
Gene names are assumed to comprise a short name or identifier followed by more detailed annotation information.
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 |
Gordon Smyth
An overview of LIMMA functions for reading data is given in 3.ReadingData.
x <- c("AA196000;actinin, alpha 3", "AA464163;acyl-Coenzyme A dehydrogenase, very long chain", "3E7;W15277;No Annotation") splitName(x)