Description Usage Arguments Details Value Author(s) Examples
View source: R/EDA_functions.R
Given a character vector with protein accessions, and a character vector with protein descriptions including gene symbols, returns a character vector with gene symbols whose names are the protein accessions. A character pattern should also be given to match the gene symbols.
1 | gene.table(Accession, Protein, patt = "GN=[A-Z0-9_]*", off = 3)
|
Accession |
A character vector with protein accessions |
Protein |
A character vector of protein descriptions including gene name symbols. |
patt |
A character pattern to match the gene symbol within the protein description. |
off |
Offset from the first character in the pattern corresponding to the gene symbol. |
NA is inserted where no match is found
A character vector with gene symbols, whose names are the corresponding protein accessions.
Josep Gregori
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.