peptr_peptide: A class for peptides

Description Usage Arguments Examples

View source: R/peptide-class.R

Description

A class for peptides

Usage

1
2
3
4
5
6
peptr_peptide(
  sequence = character(),
  count = 1L,
  position = 1L,
  ptms = list(peptr_ptm_list())
)

Arguments

sequence

A character vector of the peptide sequences.

count

An integer vector of the count of peptide.

position

An integer vector of the peptide relative to the precursor protein.

ptms

a list of peptr_ptm and peptr_ptm2 objects.

Examples

1
2
3
peptr_peptide("LVMYL")
# peptr_peptide("LL", ptms = list(peptr_ptm_list(peptr_ptm(name = "a"))))
peptr_peptide(c("LLMVKL", "CVLIMNLQN"))

jeanmanguy/peptr documentation built on Feb. 3, 2020, 12:04 a.m.