replaceSanitizedWithOriginalIDs: Replaces sanitized protein identifiers in XStringSet...

View source: R/iprSelectedPositions.R

replaceSanitizedWithOriginalIDsR Documentation

Replaces sanitized protein identifiers in XStringSet 'xstring.set' with the original ones held in 'name.maps' table.

Description

Replaces sanitized protein identifiers in XStringSet 'xstring.set' with the original ones held in 'name.maps' table.

Usage

replaceSanitizedWithOriginalIDs(xstring.set, name.maps,
  san.col = "sanitized", orig.col = "original")

Arguments

xstring.set

A vector or list of strings

name.maps

A data.frame with at least two columns one holding the sanitized and the other the original protein IDs

san.col

The column index or name of 'name.maps' holding the sanitized protein IDs

orig.col

The column index or name of 'name.maps' holding the original protein IDs

Value

A copy of argument 'xstring.set' with the sanitized protein IDs replaced with their originals.


asishallab/GeneFamilies documentation built on May 22, 2023, 11:30 a.m.