getAttributeField {tilingArray} | R Documentation |
Extract the value of a certain field out of a character vector such as in the "attributes" column of a GFF table.
getAttributeField(x, field, attrsep=";")
x |
character vector. |
field |
character vector of length 1, containing the field name. |
attrsep |
character vector of length 1, containing the separator name. |
See example.
Character vector.
W. Huber <huber@ebi.ac.uk>
acol = c("ID=46891;Name=TEL01L-TR;Note=Bla", "ID=46892;Name=TEL01L;Note=Di", "ID=46893;Name=TEL01L-XR;Note=Bla") getAttributeField(acol, "Name") getAttributeField(acol, "ID")