Learn R Programming

PTXQC (version 1.1.2)

modsToTable: Convert list of (mixed)modifications to a frequency table

Description

Convert list of (mixed)modifications to a frequency table

Usage

modsToTable(mod_list)

Value

A data.frame with 'modification_names' and 'Freq' (0-100)

Arguments

mod_list

A vector with modifications, each for a specific peptide. Multiple mods per entry are allowed, each separated by comma.

Examples

Run this code
modsToTable(c("Ox (M)", 
              "Unmodified",
              "Ox (M),Acetyl (Prot N-term)",
              "2 Ox (M)",
              "Unmodified",
              "Unmodified"))


Run the code above in your browser using DataLab