Description Usage Arguments Value Author(s) Examples
View source: R/cleanPeptides.R
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.
1 | 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
1 2 3 | 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.