checkModTy: Check & complete mixed of variable and fixed modifications

View source: R/checkModTy.R

checkModTyR Documentation

Check & complete mixed of variable and fixed modifications

Description

Check & complete settings for mixed of variable and fixed modifications. The final format is a list with $basMod, $varMod and $varMo2

Usage

checkModTy(
  modTy,
  knownMods = NULL,
  silent = TRUE,
  debug = FALSE,
  callFrom = NULL
)

Arguments

modTy

(character) list of modification types to be considered

knownMods

(character) optonal custom list of known modifications, default from AAfragSettings(outTy="all")$knownMods

silent

(logical) suppress messages

debug

(logical) additional messages for debugging

callFrom

(character) allows easier tracking of messages produced

Value

This function returns the corrected list of mixed of variable and fixed modifications ($basMod, $varMod and $varMo2)

See Also

AAfragSettings

Examples

modTy1 <- list(basMod=c("b","y","h"),varMod=c("p","o","q"))
checkModTy(modTy1)

wrTopDownFrag documentation built on June 8, 2025, 1:34 p.m.