parse_ids | R Documentation |
Parse protein ids. This is useful to remove additionnal information such as isoform or entry name.
parse_ids(x, sep_split = ";", sep_secondary = c("|", "-"), sep_collapse = ";")
x |
Character string with protein ids |
sep_split |
Character separating different protein ids |
sep_secondary |
Character separating UniProt entry from other infromation in protein ids |
sep_collapse |
Character used to separate different protein ids after parsing |
ids <- "A2AMW0|A2AMW0_MOUSE; P47757-2|CAPZB_MOUSE; P47757-4|CAPZB_MOUSE; Q3TVK4|Q3TVK4_MOUSE"
parse_ids(ids, sep = "; ", sep_secondary=c("|", "-"), sep_collapse = ";")
ids <- c("Q5SWU9|ACACA_MOUSE", "Q9ES52-2|SHIP1_MOUSE; Q9ES52|SHIP1_MOUSE", "Q8VDD5|MYH9_MOUSE")
parse_ids(ids, sep = "; ", sep_secondary=c("|", "-"), sep_collapse = ";")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.