Description Usage Arguments Value Examples
make_unique
generates unique identifiers
for a proteomics dataset based on "name" and "id" columns.
1 | make_unique(proteins, names, ids, delim = ";")
|
proteins |
Data.frame, Protein table for which unique names will be created. |
names |
Character(1), Name of the column containing feature names. |
ids |
Character(1), Name of the column containing feature IDs. |
delim |
Character(1), Sets the delimiter separating the feature names within one protein group. |
A data.frame with the additional variables "name" and "ID" containing unique names and identifiers, respectively.
1 2 3 4 5 6 | if(interactive()){
# Load example
data <- prot.raw
# Pick the appropriate columns to name proteins uniquely and informatively
data_unique <- make_unique(proteins_filtered, "Gene.names", "Protein.IDs", delim = ";")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.