extract_annotation | R Documentation |
Extracts annotation columns from a long-format input
extract_annotation(protein_ids, quant_table, primary_id = "PG.ProteinGroups",
annotation_columns = NULL)
protein_ids |
A vector of protein ids. |
quant_table |
A long-format input table. The input is typically the same as input to the |
primary_id |
The column containing protein ids. |
annotation_columns |
A vector of columns for annotation. |
A table of proteins and associated annotation extracted from the input.
Thang V. Pham
Pham TV, Henneman AA, Jimenez CR. iq: an R package to estimate relative protein abundances from ion quantification in DIA-MS-based proteomics. Bioinformatics 2020 Apr 15;36(8):2611-2613.
preprocess
data("spikeins")
extra_names <- iq::extract_annotation(levels(spikeins$PG.ProteinGroups),
spikeins,
annotation_columns = c("PG.Genes", "PG.ProteinNames"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.