strip_sequence_Spectronaut {PepMapViz} | R Documentation |
Strip sequence from Spectronaut outputs
Description
This function takes Spectronaut output containing a column with peptide sequences to be stripped and converts it into a new dataframe with the stripped sequence
Usage
strip_sequence_Spectronaut(data, column, convert_column)
Arguments
data |
A dataframe with a column containing peptide sequences to be stripped |
column |
The name of the column containing the peptide sequences to be stripped. |
convert_column |
The name of the column where the stripped sequences will be stored. |
Value
A dataframe with a column containing stripped sequence
Examples
library(data.table)
data <- data.table(
EG.IntPIMID = c(
"_[+42]M[-16]DDREDLVYQAK_",
"_EAAENSLVAYK_",
"_IEAELQDIC[+57]NDVLELLDK_"
),
Condition = c("A", "B", "B")
)
converted_data <- strip_sequence_Spectronaut(data, 'EG.IntPIMID', 'Sequence')
[Package PepMapViz version 1.1.0 Index]