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

View source: R/modsToTable.R

modsToTableR Documentation

Convert list of (mixed)modifications to a frequency table

Description

Convert list of (mixed)modifications to a frequency table

Usage

modsToTable(mod_list)

Arguments

mod_list

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

Value

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

Examples

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



PTXQC documentation built on May 29, 2024, 9:26 a.m.