This function takes a data frame of proteins, a column name for names, a column name for IDs, and a delimiter and returns a data frame with unique proteins.
Usage
prot.make_unique(proteins, names, ids, delim = ";")
Arguments
- proteins
A data frame of protein abundances.
- names
A character string for the name of the column with protein names.
- ids
A character string for the name of the column with protein IDs (e.g., Accession numbers).
- delim
A character string for the delimiter.
Value
A data frame with unique proteins.
Examples
prot.make_unique(proteins, names, ids, delim = ";")
#> Error: object 'proteins' not found