annotate_data.Rd
Add peptide/protein annotation to data file.
annotate_data(data, annotations = NULL, metadata_path = NULL, fields = c("pep_id", "pos_start", "pos_end", "UniProt_acc", "pep_aa", "taxon_genus", "taxon_species", "gene_symbol", "product"), pep_fields = c("pep_id", "pos_start", "pos_end", "pep_aa"), parallel = FALSE)
data | Phiplist of unannotated edata. |
---|---|
annotations | Phiplist of annotation files. Don't use with metadata_path param. |
metadata_path | Metadata directory. Don't use with annotations param. |
fields | What information to populate from annotation file. |
parallel | Logical whether or not to use future and future.apply to parallelize individual library computations. |
libname | Library name contained in data. |