View source: R/annotatePeptides.R
annotateAHO | R Documentation |
peptides which do not have protein assignment drop out
annotateAHO(pepseq, fasta, peptide = "peptideSeq")
pepseq |
- list of peptides - sequence, optional modified sequence, charge state. |
fasta |
- object as created by |
A data.frame with proteinID, peptideSeq, Offset and proteinSequence
library(dplyr)
file = system.file("extdata/IDResults.txt.gz" , package = "prozor")
specMeta <- readr::read_tsv(file)
upeptide <- unique(specMeta$peptideSeq)
resCan <-
prozor::readPeptideFasta(
system.file("p1000_db1_example/Annotation_canSeq.fasta.gz" , package = "prozor"))
resCanU <- resCan[!duplicated(unlist(resCan))]
annotAll = annotateAHO(upeptide[seq_len(20)], resCanU)
dim(annotAll)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.