View source: R/cleanPeptides.R
cleanPeptides | R Documentation |
clean up the input peptide subsequences. The function removes peptides which do NOT contain any anchoring amino acid. Adds peptide for each additional anchor in each peptide, and allows multiple anchoring amino acids.
cleanPeptides(dat, anchors)
dat |
input data. The input dat contains two columns 'symbol', protein ID, and 'peptides', peptide sequence.The anchoring amino acid must be in lower case. |
anchors |
A vector of character, anchoring amino acid must be in lower case. |
A data.frame with columns: 'symbol', 'peptides' and 'anchor'
Jianhong Ou, Julie Zhu
dat <- read.csv(system.file("extdata", "peptides2filter.csv", package="dagLogo"))
dat
dat.new <- cleanPeptides(dat, anchors = c("s", "t"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.